Skip to content

Commit

Permalink
strace
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpitt committed Feb 13, 2024
1 parent 71d051a commit 7887269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/base1/test-spawn-proc.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ QUnit.test("pty", async assert => {

QUnit.test("pty window size", async assert => {
try {
const proc = cockpit.spawn(['tput', 'lines', 'cols'], { err: "message", pty: true, window: { rows: 77, cols: 88 } });
const proc = cockpit.spawn(['strace', '-fvvs1024', 'tput', 'lines', 'cols'], { err: "message", pty: true, window: { rows: 77, cols: 88 } });
assert.equal(await proc, '77\r\n88\r\n', 'Correct rows and columns');
} catch (ex) {
assert.equal(ex, "foo", "XXX failed");
Expand Down

0 comments on commit 7887269

Please sign in to comment.