]> git.ipfire.org Git - thirdparty/shadow.git/commit
Update su tests 275/head
authorSerge Hallyn <shallyn@cisco.com>
Fri, 28 Aug 2020 04:09:13 +0000 (23:09 -0500)
committerSerge Hallyn <shallyn@cisco.com>
Fri, 28 Aug 2020 04:59:07 +0000 (23:59 -0500)
commitcf8101aaae51464cbe7e8bf3fe9c03d10c82a8ac
tree06a6a7c03ea239a85b34420c76909ed6da8aebb0
parent4047d1fe8edbe5ae952fef17fc09a4105d0de14b
Update su tests

Some of these tests seem wrong.  The assume that

    su -- -c command

should work, whereas -- should mean pass all remaining arguments
along to the command.

Add some new tests based on examples in Issue 253

Signed-off-by: Serge Hallyn <shallyn@cisco.com>
tests/run_some
tests/su/03/data/rootuser.out [new file with mode: 0644]
tests/su/03/data/tsuser.out [new file with mode: 0644]
tests/su/03/su_run_command17.test
tests/su/03/su_run_command18.test [new file with mode: 0755]
tests/su/03/su_run_command19.test [new file with mode: 0755]
tests/su/03/su_run_command20.test [new file with mode: 0755]
tests/su/03/su_run_command21.test [new file with mode: 0755]
tests/su/03/su_run_command22.test [new file with mode: 0755]
tests/su/03/su_run_command23.test [new file with mode: 0755]