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>
This commit is contained in:
Serge Hallyn
2020-08-27 23:09:13 -05:00
parent 4047d1fe8e
commit cf8101aaae
10 changed files with 321 additions and 9 deletions

View File

@@ -0,0 +1,2 @@
root
args: first second third

View File

@@ -0,0 +1,2 @@
myuser
args: first second third