1
0
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:
Jelmer Vernooij 2010-12-11 18:00:24 +01:00
parent 1f5f4e912d
commit 13bb9e7046

View File

@ -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;
}