summaryrefslogtreecommitdiff
path: root/source4/script/tests
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-06-04 20:36:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:52 -0500
commit5ca618950587697434915fea272358b01b065aa8 (patch)
tree17d4059a78f5c4b8cb7c44ba40d80fcf830cc1e1 /source4/script/tests
parentca5accf224dc3ef998235603797b519866b57b1c (diff)
downloadsamba-5ca618950587697434915fea272358b01b065aa8.tar.gz
samba-5ca618950587697434915fea272358b01b065aa8.tar.bz2
samba-5ca618950587697434915fea272358b01b065aa8.zip
r16039: Add missing #!, don't rely on bash
(This used to be commit f6e587e7066dbafef437e5b3854a34916f72fcb1)
Diffstat (limited to 'source4/script/tests')
-rwxr-xr-xsource4/script/tests/test_cifsdd.sh2
-rwxr-xr-xsource4/script/tests/test_functions.sh1
-rwxr-xr-xsource4/script/tests/tests_all.sh1
-rwxr-xr-xsource4/script/tests/tests_client.sh1
-rwxr-xr-xsource4/script/tests/tests_quick.sh1
5 files changed, 5 insertions, 1 deletions
diff --git a/source4/script/tests/test_cifsdd.sh b/source4/script/tests/test_cifsdd.sh
index f299146c24..9462187f9c 100755
--- a/source4/script/tests/test_cifsdd.sh
+++ b/source4/script/tests/test_cifsdd.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# Basic script to make sure that cifsdd can do both local and remote I/O.
diff --git a/source4/script/tests/test_functions.sh b/source4/script/tests/test_functions.sh
index 9beaed8ee6..f92f4c6632 100755
--- a/source4/script/tests/test_functions.sh
+++ b/source4/script/tests/test_functions.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
smbd_check_or_start() {
if [ -n "$SMBD_TEST_FIFO" ];then
if [ -p "$SMBD_TEST_FIFO" ];then
diff --git a/source4/script/tests/tests_all.sh b/source4/script/tests/tests_all.sh
index a93614b91c..63b4b23ef3 100755
--- a/source4/script/tests/tests_all.sh
+++ b/source4/script/tests/tests_all.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
$SRCDIR/script/tests/test_ejs.sh $DOMAIN $USERNAME $PASSWORD || failed=`expr $failed + $?`
$SRCDIR/script/tests/test_ldap.sh $SERVER $USERNAME $PASSWORD || failed=`expr $failed + $?`
$SRCDIR/script/tests/test_nbt.sh $SERVER || failed=`expr $failed + $?`
diff --git a/source4/script/tests/tests_client.sh b/source4/script/tests/tests_client.sh
index 5a3c5eb79a..6519d83a81 100755
--- a/source4/script/tests/tests_client.sh
+++ b/source4/script/tests/tests_client.sh
@@ -1,2 +1,3 @@
+#!/bin/sh
$SRCDIR/script/tests/test_smbclient.sh $SERVER $USERNAME $PASSWORD $DOMAIN $PREFIX || failed=`expr $failed + $?`
$SRCDIR/script/tests/test_cifsdd.sh $SERVER $USERNAME $PASSWORD $DOMAIN || failed=`expr $failed + $?`
diff --git a/source4/script/tests/tests_quick.sh b/source4/script/tests/tests_quick.sh
index 0783026b4a..80eeb57f34 100755
--- a/source4/script/tests/tests_quick.sh
+++ b/source4/script/tests/tests_quick.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
TORTURE_OPTIONS="$TORTURE_OPTIONS --option=torture:quick=yes"
export TORTURE_OPTIONS
TORTURE_QUICK="yes"