Jim Meyering <[EMAIL PROTECTED]> writes:
> Another tiny patch, for improved testability.
> Without this patch, testing expected output against actual was
> a royal pain, since I have to edit the expected output file to
> match the wrapping performed by parted itself, and that depends
> on "screen width". With this change, using the ---pretend-input-tty
> option disables the bothersome wrapping:
>
> Make ---pretend-input-tty inhibit output word-wrap.
> * parted/ui.c (screen_width): Use effectively-unlimited screen width
> with ---pretend-input-tty, just as for '--script' mode.
>
> This probably breaks the existing tests, but, as I said, they're
> about to be replaced wholesale with better ones.
>
> 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