summaryrefslogtreecommitdiffstats
path: root/tests/cluster.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cluster.rc')
-rwxr-xr-xtests/cluster.rc7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/cluster.rc b/tests/cluster.rc
index faf3208caee..49bd3caedec 100755
--- a/tests/cluster.rc
+++ b/tests/cluster.rc
@@ -100,6 +100,13 @@ function define_hosts() {
for i in `seq 1 $count`; do
eval "H_$i=${CLUSTER_PFX}.$i"
eval "H$i=${CLUSTER_PFX}.$i";
+ case $OSTYPE in
+ NetBSD)
+ ifconfig lo0 alias ${CLUSTER_PFX}.$i 2>/dev/null
+ ;;
+ *)
+ ;;
+ esac
done
}