From e34296bbaa3b80a9c5c1bf6dba3ada28016f03de Mon Sep 17 00:00:00 2001 From: Jan Sucan Date: Sat, 28 Dec 2024 11:52:13 +0100 Subject: Use options instead of positional arguments for file paths --- tests/100-cannot_open_files.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/100-cannot_open_files.sh') 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 -- cgit v1.2.3