summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVictor van den Elzen <victor.vde@gmail.com>2008-08-06 15:15:01 +0200
committerVictor van den Elzen <victor.vde@gmail.com>2008-08-06 15:15:01 +0200
commita21194646aec015bea81886ffce63d7cef8ad346 (patch)
tree3ae0795c41f24e71ba911f634fbff4eb9faeed8f /test
parent22343c2c72f0ca6902d3e9573db87fb0f8d1898e (diff)
downloadnasm-a21194646aec015bea81886ffce63d7cef8ad346.tar.gz
nasm-a21194646aec015bea81886ffce63d7cef8ad346.tar.bz2
nasm-a21194646aec015bea81886ffce63d7cef8ad346.zip
minor bugfix in performtest.pl
Diffstat (limited to 'test')
-rwxr-xr-xtest/performtest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/performtest.pl b/test/performtest.pl
index ab5b3ef..5574fc6 100755
--- a/test/performtest.pl
+++ b/test/performtest.pl
@@ -133,7 +133,7 @@ die "Please specify either --nasm or --clean. Use --help for help.\n"
unless $nasm or $clean;
die "Please specify the test files, e.g. *.asm\n" unless @ARGV;
-unless (-x $nasm) {
+unless (!defined $nasm or -x $nasm) {
warn "Warning: $nasm may not be executable. Expect problems.\n\n";
sleep 5;
}