Add RAW-CHKPATH test with case-sensitive share.
authorJeremy Allison <jra@samba.org>
Wed, 25 Nov 2009 21:17:38 +0000 (13:17 -0800)
committerJeremy Allison <jra@samba.org>
Wed, 25 Nov 2009 21:17:38 +0000 (13:17 -0800)
Jeremy.

source3/script/tests/selftest.sh
source3/script/tests/test_posix_s3.sh

index 80e50429ad32b45d274897268aac01ca579a520f..c952ef202944c6ea53dc2588f982209eb4240ef5 100755 (executable)
@@ -266,6 +266,9 @@ cat >$SERVERCONFFILE<<EOF
 [hideunread]
        copy = tmp
        hide unreadable = yes
+[tmpcase]
+       copy = tmp
+       case sensitive = yes
 [hideunwrite]
        copy = tmp
        hide unwriteable files = yes
index 60ed3e44ebb76a95fe1d45d6cc65654dde142525..d54cf7bb8a04dfa3d764027233db9bd4d2e1ef05 100755 (executable)
@@ -96,6 +96,10 @@ for t in $tests; do
     else
            testit "$name" $VALGRIND $SMBTORTURE4 $TORTURE4_OPTIONS $ADDARGS $unc -U"$username"%"$password" $t || failed=`expr $failed + 1`
     fi
+    if [ "$t" = "RAW-CHKPATH" ]; then
+           echo "Testing with case sensitive"
+           testit "$name" $VALGRIND $SMBTORTURE4 $TORTURE4_OPTIONS $ADDARGS "$unc"case -U"$username"%"$password" $t || failed=`expr $failed + 1`
+    fi
 done
 
 testok $0 $failed