Skip to content

Commit

Permalink
debug pexcept line length problem
Browse files Browse the repository at this point in the history
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
  • Loading branch information
kvalo committed Feb 25, 2024
1 parent e90b0a9 commit 4d3012c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ jobs:
- uses: actions/checkout@v4
- run: sudo apt update
- run: sudo apt install cmdtest figlet python3-flask-restful python3-pexpect python3-aiosmtpd python3-mock diffstat
- run: ./run_tests cmdtests
- run: dpkg -l python3-ptyprocess
- run: ./run_tests cmdtests utf-8
1 change: 1 addition & 0 deletions cmdtests/cmdtestlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ def __init__(self, debug=False, stgit=False, builder=None,
super(PwcliSpawn, self).__init__(os.path.join(srcdir, cmd),
timeout=3,
logfile=sys.stdout,
dimensions=(300,300),
encoding='utf-8')

def cleanup(self):
Expand Down
4 changes: 2 additions & 2 deletions cmdtests/utf-8.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Deferred : 6
Total : 32
master@data > list -f Examplè
list -f Examplè
[ 1] foo: utf-8 tèst - - - - 3d Èd Examplè Deferred
[ 1] foo: utf-8 tèst - - - - 3d Èd Examplè Deferred
master@data > reply 1
reply 1
============================================================
Expand Down Expand Up @@ -77,7 +77,7 @@ download 1
master@data > commit 1
commit 1
Retrieving patches (1/1)
foo: utf-8 tèst - - - - 3d Èd Examplè Deferred
foo: utf-8 tèst - - - - 3d Èd Examplè Deferred
------------------------------------------------------------
1 patches
commit All/aBort? a
Expand Down

0 comments on commit 4d3012c

Please sign in to comment.