summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2012-12-04 10:17:46 -0500
committerAnand Avati <avati@redhat.com>2012-12-04 14:43:15 -0800
commitc1868c52725bbf972ed4f774fe6745201fe2f25e (patch)
treee054a1a6d7489f913c45fac94c34531e1fc61fa5
parent6b969c84b847927433bbe8466090d1c7970ea37c (diff)
tests/bug-830665: use the default H0
The use of 'hostname -s' leads to a failure on my VM due to attempting to create the volume on localhost. Use the default H0 value. BUG: 830665 Change-Id: Icf23c89d2387fe747aca6d99af12f7d4e1e3fbf0 Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-on: http://review.gluster.org/4266 Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
-rwxr-xr-xtests/bugs/bug-830665.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/bugs/bug-830665.t b/tests/bugs/bug-830665.t
index 327037de487..0373ec6d7e8 100755
--- a/tests/bugs/bug-830665.t
+++ b/tests/bugs/bug-830665.t
@@ -1,7 +1,8 @@
#!/bin/bash
. $(dirname $0)/../include.rc
-H0=$(hostname -s)
+
+cleanup;
function recreate {
rm -rf $1 && mkdir -p $1