diff options
-rwxr-xr-x | meta/recipes-connectivity/openssh/openssh/run-ptest | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh/run-ptest b/meta/recipes-connectivity/openssh/openssh/run-ptest index 769162e0c8..36a3d2a7b7 100755 --- a/meta/recipes-connectivity/openssh/openssh/run-ptest +++ b/meta/recipes-connectivity/openssh/openssh/run-ptest | |||
@@ -7,12 +7,12 @@ sed -i "/\t\tagent-ptrace /d" Makefile | |||
7 | make -k .OBJDIR=`pwd` .CURDIR=`pwd` SUDO="sudo" tests \ | 7 | make -k .OBJDIR=`pwd` .CURDIR=`pwd` SUDO="sudo" tests \ |
8 | | sed -e 's/^skipped/SKIP: /g' -e 's/^ok /PASS: /g' -e 's/^failed/FAIL: /g' | 8 | | sed -e 's/^skipped/SKIP: /g' -e 's/^ok /PASS: /g' -e 's/^failed/FAIL: /g' |
9 | 9 | ||
10 | |||
11 | SSHAGENT=`which ssh-agent` | 10 | SSHAGENT=`which ssh-agent` |
12 | GDB=`which gdb` | 11 | GDB=`which gdb` |
13 | 12 | ||
14 | if [ -z "${SSHAGENT}" -o -z "${GDB}" ]; then | 13 | if [ -z "${SSHAGENT}" -o -z "${GDB}" ]; then |
15 | echo "SKIP: agent-ptrace" | 14 | echo "SKIP: agent-ptrace" |
15 | exit | ||
16 | fi | 16 | fi |
17 | 17 | ||
18 | useradd openssh-test | 18 | useradd openssh-test |
@@ -33,9 +33,9 @@ EOF | |||
33 | r=$? | 33 | r=$? |
34 | rm -f /tmp/gdb.out | 34 | rm -f /tmp/gdb.out |
35 | if [ $r -ne 0 ]; then | 35 | if [ $r -ne 0 ]; then |
36 | echo "FAIL: ptrace agant" | 36 | echo "FAIL: ptrace agent" |
37 | else | 37 | else |
38 | echo "PASS: ptrace agant" | 38 | echo "PASS: ptrace agent" |
39 | fi | 39 | fi |
40 | 40 | ||
41 | ${SSHAGENT} -k > /dev/null | 41 | ${SSHAGENT} -k > /dev/null |