summaryrefslogtreecommitdiffstats
path: root/42/regr/testcase
diff options
context:
space:
mode:
authorVinayak Hegde <vinayak@gluster.com>2009-11-02 04:32:54 -0800
committerVijay Bellur <vijay@gluster.com>2009-11-02 21:59:42 +0530
commitef2cb1ebbf16bdc965c93a3f0a7bbe944e2fb011 (patch)
treed92e172d784fa88ca1debe444c9425fb6735b05b /42/regr/testcase
parent72f39274bb69d82fd6267496133ef054ef67d344 (diff)
Regression testcase for bug-42
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to '42/regr/testcase')
-rwxr-xr-x42/regr/testcase20
1 files changed, 20 insertions, 0 deletions
diff --git a/42/regr/testcase b/42/regr/testcase
new file mode 100755
index 0000000..e381b2d
--- /dev/null
+++ b/42/regr/testcase
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+bugid=$(pwd | cut -d '/' -f 4)
+
+description="# ($bugid) auth.login and auth.addr cannot be used in conjunction with each other"
+comments="# It is addr only authentication when both login & addr are both specified"
+
+source ../../init
+start_glusterfs
+
+sleep 5
+
+if [ $(mount | grep "$MOUNTDIR/client1" | wc -l) -ne 0 ];then
+ not_ok $description
+ comment $comments
+else
+ ok $description
+fi
+
+cleanup_glusterfs \ No newline at end of file