summaryrefslogtreecommitdiff
path: root/regress/reconfigure.sh
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2010-08-12 09:43:13 -0700
committerTim Rice <tim@multitalents.net>2010-08-12 09:43:13 -0700
commit722b8d14f17f6471ef9b746f8b5942e1c7940d32 (patch)
treed4bb5f81688510e3478e2a0ba21db1c5d0ceccc6 /regress/reconfigure.sh
parent02c47341a2d0bd03411f6e00c74fb7ddd9b03986 (diff)
- (tim) [regress/login-timeout.sh regress/reconfigure.sh regress/reexec.sh
regress/test-exec.sh] Under certain conditions when testing with sudo tests would fail because the pidfile could not be read by a regular user. "cat: cannot open ...../regress/pidfile: Permission denied (error 13)" Make sure cat is run by $SUDO. no objection from me. djm@
Diffstat (limited to 'regress/reconfigure.sh')
-rw-r--r--regress/reconfigure.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/reconfigure.sh b/regress/reconfigure.sh
index 1daf29f9a..9fd289531 100644
--- a/regress/reconfigure.sh
+++ b/regress/reconfigure.sh
@@ -15,7 +15,7 @@ esac
15 15
16start_sshd 16start_sshd
17 17
18PID=`cat $PIDFILE` 18PID=`$SUDO cat $PIDFILE`
19rm -f $PIDFILE 19rm -f $PIDFILE
20$SUDO kill -HUP $PID 20$SUDO kill -HUP $PID
21 21