Skip to content

Commit e2c34b9

Browse files
committed
Use a logfile per user during regression tests
1 parent ac85a2a commit e2c34b9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/centos-image/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ RUN set -ex \
1010
RUN set -ex \
1111
&& useradd centos \
1212
&& install -d -m0755 -o centos -g centos /home/centos/.ssh \
13-
&& useradd -G centos user1 \
13+
&& useradd user1 \
1414
&& install -d -m0755 -o user1 -g user1 /home/user1/.ssh \
15-
&& useradd -g user1 -G centos user2 \
15+
&& useradd -g user1 user2 \
1616
&& install -d -m0755 -o user2 -g user1 /home/user2/.ssh
1717

1818
# Copy centos public key to root authorized_keys

test/centos-image/gateway.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ yum -y install RPMS/x86_64/sshproxy*.rpm
2727
cat <<EOF >/etc/sshproxy/sshproxy.yaml
2828
---
2929
debug: true
30-
log: /tmp/sshproxy.log
30+
log: /tmp/sshproxy-{user}.log
3131
3232
etcd:
3333
endpoints:

0 commit comments

Comments
 (0)