diff --git a/test/bochs.sh b/test/bochs.sh index 9ddebcd..cfbcb27 100755 --- a/test/bochs.sh +++ b/test/bochs.sh @@ -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" diff --git a/test/dosbox.sh b/test/dosbox.sh index 9f5571d..767802d 100755 --- a/test/dosbox.sh +++ b/test/dosbox.sh @@ -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" diff --git a/test/gui-sh-mac.sh b/test/gui-sh-mac.sh index 7659996..e9f12b8 100755 --- a/test/gui-sh-mac.sh +++ b/test/gui-sh-mac.sh @@ -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 diff --git a/test/gui-sh.sh b/test/gui-sh.sh index 8326c52..5fc2480 100755 --- a/test/gui-sh.sh +++ b/test/gui-sh.sh @@ -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 diff --git a/test/qemu-system-i386-cdrom.sh b/test/qemu-system-i386-cdrom.sh index 0ac9ea4..e412b87 100755 --- a/test/qemu-system-i386-cdrom.sh +++ b/test/qemu-system-i386-cdrom.sh @@ -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" diff --git a/test/qemu-system-i386-floppy.sh b/test/qemu-system-i386-floppy.sh index 9b0e7b6..fd57cdf 100755 --- a/test/qemu-system-i386-floppy.sh +++ b/test/qemu-system-i386-floppy.sh @@ -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" diff --git a/test/virtualbox.sh b/test/virtualbox.sh index db152f8..73f6020 100755 --- a/test/virtualbox.sh +++ b/test/virtualbox.sh @@ -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"