summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/include.rc9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/include.rc b/tests/include.rc
index 30dea01d2a7..7463f5277c8 100644
--- a/tests/include.rc
+++ b/tests/include.rc
@@ -6,7 +6,14 @@ N1=${N1:=/mnt/nfs/1}; # 1st mount point for NFS
V0=${V0:=patchy}; # volume name to use in tests
V1=${V1:=patchy1}; # volume name to use in tests
B0=${B0:=/d/backends}; # top level of brick directories
-H0=${H0:=`hostname --fqdn`}; # hostname
+case `uname -s` in
+Linux)
+ H0=${H0:=`hostname --fqdn`}; # hostname
+ ;;
+*)
+ H0=${H0:=`hostname`}; # hostname
+ ;;
+esac
DEBUG=${DEBUG:=0} # turn on debugging?
PROCESS_UP_TIMEOUT=20