s3:selftest: handle spaces in test names
authorStefan Metzmacher <metze@samba.org>
Wed, 24 Feb 2010 09:09:32 +0000 (10:09 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 24 Feb 2010 10:56:10 +0000 (11:56 +0100)
metze

source3/selftest/tests.sh

index 96df0bde1152e179ab4f02496fcf2268f4071670..4c96c3b2cea1344b1d1f8a6614427a0b567304fc 100755 (executable)
@@ -41,7 +41,8 @@ plantest() {
 normalize_testname() {
        name=$1
        shift 1
-       echo $name | tr "A-Z-" "a-z."
+       n=`echo $name | tr "A-Z-" "a-z."`
+       echo "$n $@"
 }
 
 TEST_FUNCTIONS_SH="INCLUDED"