s3: Move stream_depot test to script/tests
[ira/wip.git] / source3 / script / tests / stream-depot / run.sh
diff --git a/source3/script/tests/stream-depot/run.sh b/source3/script/tests/stream-depot/run.sh
new file mode 100755 (executable)
index 0000000..f1e75fb
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+rm -r .streams
+../../../bin/vfstest -s smb.conf -f vfstest.cmd
+NUM=`find .streams | wc -l`
+if [ $NUM -ne 3 ] ; then
+    echo "streams_depot left ${NUM} in .streams, expected 3"
+    exit 1
+fi
+exit 0