summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/selftest.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index 2ba68d284b..d8640e0d1a 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -951,12 +951,12 @@ $envvarstr
my $name = $$_[0];
my $envname = $$_[1];
- unless($cmd =~ /\$LIST/) {
+ unless($cmd =~ /\$LISTOPT/) {
warn("Unable to list tests in $name");
next;
}
- $cmd =~ s/\$LIST/--list/;
+ $cmd =~ s/\$LISTOPT/--list/;
system($cmd);
}