Tests should fail if the OS filename argument is missing.

This commit is contained in:
Georges Dupéron 2018-09-24 09:38:57 +02:00
parent 311c8ef289
commit 0b037fd2e6
No known key found for this signature in database
GPG Key ID: C7976374130A80F7
7 changed files with 7 additions and 0 deletions

View File

@ -3,6 +3,7 @@ set -e
if test $# -ne 1 || test "$1" = '-h' -o "$1" = '--help'; then
echo "Usage: $0 operating_system_file"
exit 1
fi
os_filename="$1"

View File

@ -3,6 +3,7 @@ set -e
if test $# -ne 1 || test "$1" = '-h' -o "$1" = '--help'; then
echo "Usage: $0 operating_system_file"
exit 1
fi
os_filename="$1"

View File

@ -3,6 +3,7 @@ set -e
if test $# -ne 1 || test "$1" = '-h' -o "$1" = '--help'; then
echo "Usage: $0 operating_system_file"
exit 1
fi
# Force the path to be relative or absolute, but with at least one /
# Otherwise, the command will be searched in the $PATH, instead of using the

View File

@ -3,6 +3,7 @@ set -e
if test $# -ne 1 || test "$1" = '-h' -o "$1" = '--help'; then
echo "Usage: $0 operating_system_file"
exit 1
fi
# Force the path to be relative or absolute, but with at least one /
# Otherwise, the command will be searched in the $PATH, instead of using the

View File

@ -3,6 +3,7 @@ set -e
if test $# -ne 1 || test "$1" = '-h' -o "$1" = '--help'; then
echo "Usage: $0 operating_system_file"
exit 1
fi
os_filename="$1"

View File

@ -3,6 +3,7 @@ set -e
if test $# -ne 1 || test "$1" = '-h' -o "$1" = '--help'; then
echo "Usage: $0 operating_system_file"
exit 1
fi
os_filename="$1"

View File

@ -3,6 +3,7 @@ set -e
if test $# -ne 1 || test "$1" = '-h' -o "$1" = '--help'; then
echo "Usage: $0 operating_system_file"
exit 1
fi
os_filename="$1"