summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2012-02-13 14:03:12 +1100
committerAmitay Isaacs <amitay@gmail.com>2012-04-13 14:51:13 +1000
commit926f656580f055cb514755e5b5a32d7c6ba86af8 (patch)
tree5c3865ae7a044822a7df9a5da21685b1bdf7aefd
parentc985ccf411b4abf8702a9a531a98441d8143af34 (diff)
downloadsamba-926f656580f055cb514755e5b5a32d7c6ba86af8.tar.gz
samba-926f656580f055cb514755e5b5a32d7c6ba86af8.tar.xz
samba-926f656580f055cb514755e5b5a32d7c6ba86af8.zip
tests: exportfs always outputs with options in brackets
Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit bdd8b8ab20169936fa723fa77cead1b76b6cd0b5)
-rwxr-xr-xctdb/tests/complex/01_ctdb_nfs_skip_share_check.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/complex/01_ctdb_nfs_skip_share_check.sh b/ctdb/tests/complex/01_ctdb_nfs_skip_share_check.sh
index 85bc64d659..969b445191 100755
--- a/ctdb/tests/complex/01_ctdb_nfs_skip_share_check.sh
+++ b/ctdb/tests/complex/01_ctdb_nfs_skip_share_check.sh
@@ -99,7 +99,7 @@ try_command_on_node -v $test_node "mkdir -p \"$rc_local_d\""
f="$rc_local_d/fake-exportfs"
echo "Installing \"$f\"..."
-try_command_on_node $test_node "echo \"function exportfs () { echo $foo_dir 127.0.0.1/32 ; }\" >\"$f\" ; chmod +x \"$f\""
+try_command_on_node $test_node "echo \"function exportfs () { echo \\\"$foo_dir 127.0.0.1/32(rw)\\\" ; }\" >\"$f\" ; chmod +x \"$f\""
n="$rc_local_d/nfs-skip-share-check"
n_contents='loadconfig() {