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 64d2a87..34cf3e0 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 base out touch base out -assert "" "cannot get size of input file" 1 $PROGRAM_EXEC backup input base out +assert "" "cannot get size of input file" 1 $PROGRAM_EXEC backup -i input -b base -o out rm -f input base out touch input out -assert "" "cannot get size of base file" 1 $PROGRAM_EXEC backup input base out +assert "" "cannot get size of base file" 1 $PROGRAM_EXEC backup -i input -b base -o out rm -f input base out rmdir outdir 2>/dev/null touch input base mkdir outdir chmod -w outdir -assert "" "cannot open output file" 1 $PROGRAM_EXEC backup input base outdir/out +assert "" "cannot open output file" 1 $PROGRAM_EXEC backup -i input -b base -o outdir/out rm -f input base out rmdir outdir |
