diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-09-22 19:21:58 -0700 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-09-22 22:29:09 -0700 |
commit | 3d0e6db9dc68aace8b2993faa45f48b3f5f4e855 (patch) | |
tree | 57a4a26df875da5940a8b6e4d6d92843614c8011 /selftest | |
parent | f9ed11c7562d1ff2cf23de0057df6ff80927c9fc (diff) | |
download | samba-3d0e6db9dc68aace8b2993faa45f48b3f5f4e855.tar.gz samba-3d0e6db9dc68aace8b2993faa45f48b3f5f4e855.tar.bz2 samba-3d0e6db9dc68aace8b2993faa45f48b3f5f4e855.zip |
selftest: Fix idlist running.
Diffstat (limited to 'selftest')
-rwxr-xr-x | selftest/selftest.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl index 5457306c62..6c0aab9d6b 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -706,7 +706,7 @@ foreach my $testsuite (@available) { $match = $r; $restricted_used->{$r} = 1; } elsif (substr($r, 0, length($name)+1) eq "$name.") { - push(@{$individual_tests->{$name}}, substr($r, length($name)+1)); + push(@{$individual_tests->{$name}}, $r); $match = $r; $restricted_used->{$r} = 1; } @@ -938,7 +938,7 @@ $envvarstr if ($$_[3]) { my ($fh, $listid_file) = tempfile(UNLINK => 0); foreach my $test (@{$individual_tests->{$name}}) { - print $fh "$test\n"; + print $fh substr($test, length($name)+1) . "\n"; } $cmd =~ s/\$LOADLIST/--load-list=$listid_file/g; } elsif ($$_[4]) { |