Skip to content

Commit

Permalink
Adding user to fix e2e tests. (#972)
Browse files Browse the repository at this point in the history
This change was accidentally rolled back in my latest commit [1].

[1] be9fded
  • Loading branch information
Tati1701 committed Apr 19, 2022
1 parent c18c988 commit aa4a77a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions appveyor/e2e_tests/run_e2e_tests.sh
Expand Up @@ -26,6 +26,7 @@ function fatal() {
# tests that rely on the presence of user profiles in the knowledge-base, we
# generate a dummy wtmp entry for the 'appveyor' user, which is the role used
# for running tests. This is obviously a hack.
useradd -m appveyor
echo "[7] [01234] [ts/3] [appveyor] [pts/3 ] [100.100.10.10 ] [100.100.10.10 ] [Thu Jan 01 00:00:00 1970 UTC]" > wtmp.txt
utmpdump /var/log/wtmp >> wtmp.txt
utmpdump --reverse < wtmp.txt > /var/log/wtmp
Expand Down

0 comments on commit aa4a77a

Please sign in to comment.