diff options
Diffstat (limited to 'tests/100-cannot_open_files.sh')
| -rw-r--r-- | tests/100-cannot_open_files.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/100-cannot_open_files.sh b/tests/100-cannot_open_files.sh index 4b49acd..07eb574 100644 --- a/tests/100-cannot_open_files.sh +++ b/tests/100-cannot_open_files.sh @@ -6,18 +6,18 @@ PROGRAM_EXEC="$1" rm -f input ref out touch ref out -assert_error "cannot open input file" $PROGRAM_EXEC input ref out +assert "" "cannot open input file" 1 $PROGRAM_EXEC backup input ref out rm -f input ref out touch input out -assert_error "cannot open reference file" $PROGRAM_EXEC input ref out +assert "" "cannot open reference file" 1 $PROGRAM_EXEC backup input ref out rm -f input ref out rmdir outdir 2>/dev/null touch input ref mkdir outdir chmod -w outdir -assert_error "cannot open output file" $PROGRAM_EXEC input ref outdir/out +assert "" "cannot open output file" 1 $PROGRAM_EXEC backup input ref outdir/out rm -f input ref out rmdir outdir |
