summaryrefslogtreecommitdiff
path: root/regress/agent-ptrace.sh
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-12-08 15:53:28 +1100
committerDamien Miller <djm@mindrot.org>2013-12-08 15:53:28 +1100
commit6d6fcd14e23a9053198342bb379815b15e504084 (patch)
treeec36f8063bc3faf51e169fe10495a840a1b3f8c2 /regress/agent-ptrace.sh
parent7e6e42fb532c7dafd7078ef5e9e2d3e47fcf6752 (diff)
- (djm) [Makefile.in regress/Makefile regress/agent-ptrace.sh]
[regress/setuid-allowed.c] Check that ssh-agent is not on a no-setuid filesystem before running agent-ptrace.sh; ok dtucker
Diffstat (limited to 'regress/agent-ptrace.sh')
-rw-r--r--regress/agent-ptrace.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/regress/agent-ptrace.sh b/regress/agent-ptrace.sh
index 9f29464c5..6824b8141 100644
--- a/regress/agent-ptrace.sh
+++ b/regress/agent-ptrace.sh
@@ -19,6 +19,13 @@ else
19 exit 0 19 exit 0
20fi 20fi
21 21
22if $OBJ/setuid-allowed ${SSHAGENT} ; then
23 : ok
24else
25 echo "skipped (${SSHAGENT} is mounted on a no-setuid filesystem)"
26 exit 0
27fi
28
22if test -z "$SUDO" ; then 29if test -z "$SUDO" ; then
23 echo "skipped (SUDO not set)" 30 echo "skipped (SUDO not set)"
24 exit 0 31 exit 0