FreeBSD Bugzilla – Attachment 149334 Details for
Bug 194971
[patch] pw(8): wrong error message when using -V dir
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
test fake dir for -V flag
pw_etcdir.sh (text/plain), 408 bytes, created by
Freddy DISSAUX
on 2014-11-12 20:20:51 UTC
(
hide
)
Description:
test fake dir for -V flag
Filename:
MIME Type:
Creator:
Freddy DISSAUX
Created:
2014-11-12 20:20:51 UTC
Size:
408 bytes
patch
obsolete
> ># When provide -V dir, dir must exists >atf_test_case etcdir_must_exists >etcdir_must_exists_head() { > atf_set "descr" "When provide -V dir, dir must exists" >} > >etcdir_must_exists_body() { > local fakedir="/this_directory_does_not_exists" > atf_check -e inline:"pw: no such directory \`$fakedir'\n" -s exit:72 -x pw -V ${fakedir} usershow root >} > >atf_init_test_cases() { > atf_add_test_case etcdir_must_exists >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 194971
:
149333
| 149334 |
149335