The Samba-Bugzilla – Bug 924
smbtorture returns true even an invalid test name is provided
Last modified: 2005-08-24 10:18:46 UTC
I couldn't find a right category for smbtorture so I am posing here, forgive
me if I shouldn't have.
Currently, under smbtorture in Samba 3.0, there is no routine to check the
validity of test names. In another word, even when a non-existing test is
specified by a user, smbtorture returns true without doing anything.
Some kind of verification is needed to make sure test name provided is the
Also, the condition for executing ALL tests needs to be fixed as it does not
consider the existance of options. Also, it passes entire argv to run_test(),
even though option args should be ommitted.
All fixes are done on smbtorture in Samba 4.
Created attachment 340 [details]
a proposed patch for this bug
Fixed in 3_0 CVS. Named the variable 'found' and not 'notfound'.
Would you fix 'testsuite/build_farm/torture-RW2.test' as well, where
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.