diff options
-rwxr-xr-x | test/testing.sh | 8 |
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 | ||
10 | if [ -z "$@"] | ||
11 | then | ||
12 | ps aux | grep -q '[s]shd' || { | ||
13 | echo "Run sudo /bin/sshd in order to perform all tests." | ||
14 | exit 1 | ||
15 | } | ||
16 | fi | ||
17 | |||
10 | testing_dir="$PWD" | 18 | testing_dir="$PWD" |
11 | 19 | ||
12 | testing_tree="$testing_dir/testing" | 20 | testing_tree="$testing_dir/testing" |