]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
cli-tests/common.sh: fix _user_do()
authorEric Biggers <ebiggers@google.com>
Sun, 8 Nov 2020 04:30:51 +0000 (20:30 -0800)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 8 Nov 2020 04:46:57 +0000 (20:46 -0800)
commit4d37d7eaedae964cf72e82ec959a2482916faa1b
treec8c7992b304e9c86aff57ec351ae558d852f7703
parentb68d603854bb38f59e77963d61ca25d92b945589
cli-tests/common.sh: fix _user_do()

Apparently, on some distros 'su' doesn't preserve $PATH.  So, manually
export it in the command.  Also, ensure that the shell stays as bash.

This is needed for some of the CLI tests to pass in Travis CI.
cli-tests/common.sh