]> git.proxmox.com Git - mirror_zfs.git/commit
ZTS: replace su commands by run_user function
authorGeorge Melikov <mail@gmelikov.ru>
Wed, 5 Jul 2017 17:46:52 +0000 (20:46 +0300)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 5 Jul 2017 17:46:52 +0000 (10:46 -0700)
commit9c3dcab5e229723ba41c67926223e942794a9ab2
tree15625ca075e5dcd0f66c8842f6aeeeb4854bde88
parent478e3ecf8bc98687a336a64214c0e5e122454f52
ZTS: replace su commands by run_user function

Needed for PATH variable to be passed into su.  The
posix* tests were fixed, but they need further investigation
before they can be enabled.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: George Melikov <mail@gmelikov.ru>
Closes #6303
tests/zfs-tests/tests/functional/acl/posix/posix_001_pos.ksh
tests/zfs-tests/tests/functional/acl/posix/posix_002_pos.ksh
tests/zfs-tests/tests/functional/acl/posix/posix_003_pos.ksh
tests/zfs-tests/tests/functional/history/history_common.kshlib
tests/zfs-tests/tests/functional/privilege/privilege_001_pos.ksh
tests/zfs-tests/tests/functional/privilege/privilege_002_pos.ksh