diff options
-rw-r--r-- | regress/agent-ptrace.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/regress/agent-ptrace.sh b/regress/agent-ptrace.sh index 1912ca8f9..bb676d631 100644 --- a/regress/agent-ptrace.sh +++ b/regress/agent-ptrace.sh | |||
@@ -12,6 +12,11 @@ if have_prog uname ; then | |||
12 | esac | 12 | esac |
13 | fi | 13 | fi |
14 | 14 | ||
15 | if [ "x$USER" = "xroot" ]; then | ||
16 | echo "Skipped: running as root" | ||
17 | exit 0 | ||
18 | fi | ||
19 | |||
15 | if have_prog gdb ; then | 20 | if have_prog gdb ; then |
16 | : ok | 21 | : ok |
17 | else | 22 | else |