summaryrefslogtreecommitdiff
path: root/source3/selftest
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-12-11 03:26:31 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-12-11 04:16:13 +0100
commit35fbc7bbda5851f7172538f79fc79be201f1d521 (patch)
tree30449903f8f3288618986e3dadddd7a29f0ffe5f /source3/selftest
parent68d97f8b492d1d075ed77a4bab7f178d10570106 (diff)
downloadsamba-35fbc7bbda5851f7172538f79fc79be201f1d521.tar.gz
samba-35fbc7bbda5851f7172538f79fc79be201f1d521.tar.bz2
samba-35fbc7bbda5851f7172538f79fc79be201f1d521.zip
s4-smbtorture: Make test names lowercase and dot-separated.
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
Diffstat (limited to 'source3/selftest')
-rwxr-xr-xsource3/selftest/tests.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/source3/selftest/tests.sh b/source3/selftest/tests.sh
index e53981c89e..9457207df9 100755
--- a/source3/selftest/tests.sh
+++ b/source3/selftest/tests.sh
@@ -40,20 +40,13 @@ plantest() {
echo $cmdline "2>&1" "| ../selftest/filter-subunit --prefix \"$fullname.\""
}
-normalize_testname() {
- name=$1
- shift 1
- n=`echo $name | tr "A-Z-" "a-z."`
- echo "$n $@"
-}
-
TEST_FUNCTIONS_SH="INCLUDED"
testit() {
name=$1
shift 1
cmdline="$*"
- plantest "`normalize_testname $testitprefix$name`" $testitenv $cmdline
+ plantest "$testitprefix$name" $testitenv $cmdline
return
}