aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssh/openssh/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/openssh/openssh/run-ptest')
-rwxr-xr-xmeta/recipes-connectivity/openssh/openssh/run-ptest6
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
make -k .OBJDIR=`pwd` .CURDIR=`pwd` SUDO="sudo" tests \
| sed -e 's/^skipped/SKIP: /g' -e 's/^ok /PASS: /g' -e 's/^failed/FAIL: /g'
-
SSHAGENT=`which ssh-agent`
GDB=`which gdb`
if [ -z "${SSHAGENT}" -o -z "${GDB}" ]; then
echo "SKIP: agent-ptrace"
+ exit
fi
useradd openssh-test
@@ -33,9 +33,9 @@ EOF
r=$?
rm -f /tmp/gdb.out
if [ $r -ne 0 ]; then
- echo "FAIL: ptrace agant"
+ echo "FAIL: ptrace agent"
else
- echo "PASS: ptrace agant"
+ echo "PASS: ptrace agent"
fi
${SSHAGENT} -k > /dev/null