aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/testing.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/testing.sh b/test/testing.sh
index 207bdfbc..5b3de201 100755
--- a/test/testing.sh
+++ b/test/testing.sh
@@ -7,6 +7,14 @@
7 exit 1 7 exit 1
8} 8}
9 9
10if [ -z "$@"]
11then
12 ps aux | grep -q '[s]shd' || {
13 echo "Run sudo /bin/sshd in order to perform all tests."
14 exit 1
15 }
16fi
17
10testing_dir="$PWD" 18testing_dir="$PWD"
11 19
12testing_tree="$testing_dir/testing" 20testing_tree="$testing_dir/testing"