From: Andrew Bartlett Date: Wed, 15 Aug 2012 22:37:54 +0000 (+1000) Subject: s3-selftest: convert stream_depot vfstest driver into a subunit test X-Git-Tag: tevent-0.9.17~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=748d8f5310501bb585c9be1b261554ec690a3132;p=thirdparty%2Fsamba.git s3-selftest: convert stream_depot vfstest driver into a subunit test This gives us our first automated coverage of the vfstest binary. We don't use the simple smb.conf because we need to override all the paths for this to work as non-root without a panic, so we use the s3dc environment, which already loads this module. Andrew Bartlett --- diff --git a/source3/script/tests/stream-depot/run.sh b/source3/script/tests/stream-depot/run.sh index f1e75fbf716..38ef2832948 100755 --- a/source3/script/tests/stream-depot/run.sh +++ b/source3/script/tests/stream-depot/run.sh @@ -1,9 +1,36 @@ #!/bin/sh -rm -r .streams -../../../bin/vfstest -s smb.conf -f vfstest.cmd +if [ $# -lt 2 ]; then +cat <