Skip to content

Commit fa2ed7d

Browse files
committed
Test non-fully qualified path name.
--HG-- branch : 1.9
1 parent 49971ea commit fa2ed7d

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

plugins/sudoers/regress/testsudoers/test12.out.ok

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ millert ALL = /fail : foo
99
sudoers:5:16: syntax error
1010
root ALL = ALL bar
1111
^~~
12+
sudoers:7:12: expected a fully-qualified path name
13+
root ALL = baz
14+
^~~
1215

1316
User_Alias A1 = u1
1417

plugins/sudoers/regress/testsudoers/test12.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ User_Alias A1 = u1 u2 : A2 = u3, u4
1414
millert ALL = /fail : foo
1515
1616
root ALL = ALL bar
17+
18+
root ALL = baz
1719
EOF

0 commit comments

Comments
 (0)