mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
smbtorture: Default to listing all tests if no prefix was specified.
This commit is contained in:
parent
1f5f4e912d
commit
13bb9e7046
@ -633,8 +633,12 @@ int main(int argc,char *argv[])
|
||||
}
|
||||
|
||||
if (list_tests) {
|
||||
for (i=1;i<argc_new;i++) {
|
||||
print_test_list(torture_root, NULL, argv_new[i]);
|
||||
if (argc_new == 1) {
|
||||
print_test_list(torture_root, NULL, "");
|
||||
} else {
|
||||
for (i=1;i<argc_new;i++) {
|
||||
print_test_list(torture_root, NULL, argv_new[i]);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user