summaryrefslogtreecommitdiff
path: root/tests/lib/test-ping
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-07-21 22:11:47 +0200
committerDieter Plaetinck <dieter@plaetinck.be>2009-07-21 22:11:47 +0200
commit3bd20bde1e49ab664cc53262ec5ebb3e6323d3f6 (patch)
treebd7e686e44c3f4e62dc83712b7be94b0e550d204 /tests/lib/test-ping
parentd982d8e1f9e6b806d44340ca28858e388a1fded7 (diff)
make tests separate reusable files + make the testing thing a bit better
Diffstat (limited to 'tests/lib/test-ping')
-rw-r--r--tests/lib/test-ping7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/lib/test-ping b/tests/lib/test-ping
new file mode 100644
index 0000000..2fba015
--- /dev/null
+++ b/tests/lib/test-ping
@@ -0,0 +1,7 @@
+#!/bin/bash
+# $1 iterations
+# $2 host
+
+NAME="PING CHECK ON $2"
+
+ping -c $1 $2