Skip to content

Commit 0db1bc3

Browse files
committed
better usage of run
1 parent d823464 commit 0db1bc3

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎integration_tests/general.bats‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,11 @@ teardown_file() {
6868
}
6969

7070
@test "error_code_when_no_trace" {
71-
run $IPROF sleep 1
71+
run -3 $IPROF sleep 1
7272
[ "$status" == 3 ]
7373
}
7474

7575
@test "read_stdin" {
76-
run echo "FOO" | $IPROF cat
76+
run -3 echo "FOO" | $IPROF cat
7777
grep "FOO" "$output"
78-
[ "$status" == 3 ]
7978
}

0 commit comments

Comments
 (0)