Skip to content

Commit

Permalink
Add two tests; quiet-fail fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
0-wiz-0 committed Apr 11, 2024
1 parent 42f5b6e commit db45f8e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/quiet-fail.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
program nihtest
arguments -q true-fail.test
return 1
file true-fail.test true-fail.input
file nihtest.conf nihtest-conf
stdout
true-fail.test:1: test case failed
exit code differs:
-1
+0
true-fail -- FAIL: exit code
end-of-inline-data
5 changes: 5 additions & 0 deletions tests/quiet-pass.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
program nihtest
arguments -q true-pass.test
return 0
file true-pass.test true-pass.input
file nihtest.conf nihtest-conf

0 comments on commit db45f8e

Please sign in to comment.