selftest: Support multiple instances of $LISTOPT.
authorJelmer Vernooij <jelmer@samba.org>
Sat, 11 Dec 2010 17:21:58 +0000 (18:21 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 11 Dec 2010 17:48:05 +0000 (18:48 +0100)
selftest/selftest.pl

index 213954cfbf98df0fc50dae72b6e2225ccba89dae..9759220c685b732d12a89ef180da6e169b93ca60 100755 (executable)
@@ -956,7 +956,7 @@ $envvarstr
                        next;
                }
 
-               $cmd =~ s/\$LISTOPT/--list/;
+               $cmd =~ s/\$LISTOPT/--list/g;
 
                system($cmd);