Skip to content

Commit 576aa60

Browse files
committed
update ut for linux
1 parent 34ef0d6 commit 576aa60

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/scripts/regression-001.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ ulimit -c
4545
ulimit | wc
4646

4747
echo '--- for exit code ---'
48-
./target/debug/cicada -c 'cinfo1'
48+
./target/debug/cicada -c cinfo1
4949
echo $?
50-
echo '/bin/ls does-not-exist.txt' > tmp.sh
51-
./target/debug/cicada tmp.sh
50+
echo 'exit 3' > exit3.sh
51+
./target/debug/cicada exit3.sh
5252
echo $?
53-
rm -f tmp.sh
53+
rm -f exit3.sh

tests/scripts/regression-001.sh.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ c5
2222
2 7 38
2323
--- for exit code ---
2424
127
25-
1
25+
3

0 commit comments

Comments
 (0)