From 748d8f5310501bb585c9be1b261554ec690a3132 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 16 Aug 2012 08:37:54 +1000 Subject: 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 --- source3/script/tests/stream-depot/run.sh | 37 ++++++++++++++++++++++++++---- source3/script/tests/stream-depot/smb.conf | 5 ---- 2 files changed, 32 insertions(+), 10 deletions(-) delete mode 100644 source3/script/tests/stream-depot/smb.conf (limited to 'source3/script') diff --git a/source3/script/tests/stream-depot/run.sh b/source3/script/tests/stream-depot/run.sh index f1e75fbf71..38ef283294 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 <