Run tests as appropriate group
Need to add "groupadd" and "groupdel" for Alpine. See: https://github.com/gliderlabs/docker-alpine/issues/326
This commit is contained in:
parent
62401b72d0
commit
3a2ffd4233
16 changed files with 51 additions and 34 deletions
|
|
@ -164,7 +164,7 @@ if [ -n "$(type expect 2> /dev/null)" ]; then
|
|||
testrun_start "/es:audit-logs/es:audit-log"
|
||||
|
||||
new "CLI scroll test using expect"
|
||||
sudo="sudo -g ${CLICON_USER}" ## cheat
|
||||
sudo="sudo -g ${CLICON_GROUP}" ## cheat
|
||||
clixon_cli_="${clixon_cli##$sudo }"
|
||||
clixon_cli="$clixon_cli_" $sudo --preserve-env=clixon_cli expect ./test_pagination_expect.exp "$cfg" "$xpath" bob3 bob4
|
||||
if [ $? -ne 0 ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue