Jim Meyering <[EMAIL PROTECTED]> writes:

> This isn't a big deal, but I found it very useful in adjusting
> my integration testing framework (big patch coming in a few minutes).
> Without it, I have to test whether running with uid=0 to determine what
> the expected output should be, even with --script.  With this change,
> at least when testing with --script, the output is the same (no warning)
> for root and non-root.
>
> This patch does break the existing integration tests, but the
> next patch (that replaces the framework and rewrites integration tests)
> puts everything back in order.
>
>       Suppress "you are not superuser..." warning in script mode.
>       * parted/parted.c (_init): Do not emit this warning in script mode:
>       "You are not superuser.  Watch out for permissions."
>
> Signed-off-by: Jim Meyering <[EMAIL PROTECTED]>

Ack.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: [EMAIL PROTECTED]      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."

_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to