summaryrefslogtreecommitdiff
path: root/source4/script/tests
diff options
context:
space:
mode:
authorBrad Henry <brad@samba.org>2006-10-14 20:18:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:01 -0500
commitebbdf24b033ca178780ac0d4530029cf73fab48a (patch)
tree57fd27ef75a8309f63ffac004725d1d2a596fcf1 /source4/script/tests
parent85ccd43f70ac47a23b28c1c85a1c57095640e3d0 (diff)
downloadsamba-ebbdf24b033ca178780ac0d4530029cf73fab48a.tar.gz
samba-ebbdf24b033ca178780ac0d4530029cf73fab48a.tar.bz2
samba-ebbdf24b033ca178780ac0d4530029cf73fab48a.zip
r19279: These setup and cleanup functions are general enough for any test which needs
a share to operate on, not just the qfileinfo test, so now they are named more appropriately. (This used to be commit eb16d5324d6e1f4e4b33993e23a6446c3289a85f)
Diffstat (limited to 'source4/script/tests')
-rwxr-xr-xsource4/script/tests/test_win.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/script/tests/test_win.sh b/source4/script/tests/test_win.sh
index 8861e2eccd..b7cd3d2604 100755
--- a/source4/script/tests/test_win.sh
+++ b/source4/script/tests/test_win.sh
@@ -18,7 +18,7 @@
# I was finding that "cat common.exp wintest_setup.exp | expect -f -"
# fails to run, but exits with 0 status something like 1% of the time.
-setup_qfileinfo_test()
+setup_share_test()
{
echo -e "\nSetting up windows environment."
cat $WINTEST_DIR/common.exp > $TMPDIR/setup.exp
@@ -29,7 +29,7 @@ setup_qfileinfo_test()
}
# Clean up the windows environment after the test has run or failed.
-remove_qfileinfo_test()
+remove_share_test()
{
echo -e "\nCleaning up windows environment."
cat $WINTEST_DIR/common.exp > $TMPDIR/remove.exp
@@ -59,7 +59,7 @@ fi
test_name="RAW-QFILEINFO / WINDOWS SERVER"
echo -e "\n$test_name SETUP PHASE"
-setup_qfileinfo_test
+setup_share_test
if [ $err_rtn -ne 0 ]; then
# If test setup fails, load VM snapshot and skip test.