FreeBSD Bugzilla – Attachment 153007 Details for
Bug 197612
usr.sbin.pw.pw_usernext:usernext* tests are broken (but pass sometimes...?)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
The random limit was going out of bounds of the test.
Bug197612-1.diff (text/plain), 583 bytes, created by
oneil.rs
on 2015-02-15 17:05:14 UTC
(
hide
)
Description:
The random limit was going out of bounds of the test.
Filename:
MIME Type:
Creator:
oneil.rs
Created:
2015-02-15 17:05:14 UTC
Size:
583 bytes
patch
obsolete
>Index: usr.sbin/pw/tests/pw_usernext.sh >=================================================================== >--- usr.sbin/pw/tests/pw_usernext.sh (revision 278804) >+++ usr.sbin/pw/tests/pw_usernext.sh (working copy) >@@ -9,7 +9,7 @@ > populate_etc_skel > > var0=1 >- LIMIT=`jot -r 1 2 10` >+ LIMIT=`jot -r 1 2 8` > while [ "$var0" -lt "$LIMIT" ] > do > atf_check -s exit:0 ${PW} useradd test$var0 >@@ -26,7 +26,7 @@ > populate_etc_skel > > var0=1 >- LIMIT=`jot -r 1 2 10` >+ LIMIT=`jot -r 1 2 8` > while [ "$var0" -lt "$LIMIT" ] > do > atf_check -s exit:0 ${PW} useradd -n test$var0 -g 0
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 197612
:
152966
| 153007