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:
2
tests/su/03/data/rootuser.out
Normal file
2
tests/su/03/data/rootuser.out
Normal file
@@ -0,0 +1,2 @@
|
||||
root
|
||||
args: first second third
|
2
tests/su/03/data/tsuser.out
Normal file
2
tests/su/03/data/tsuser.out
Normal file
@@ -0,0 +1,2 @@
|
||||
myuser
|
||||
args: first second third
|
Reference in New Issue
Block a user