Benno Schulenberg <[EMAIL PROTECTED]> wrote: > Jim Meyering wrote: >> Benno Schulenberg <[EMAIL PROTECTED]> wrote: >> > * expecting success: $compare out /dev/null >> > --- out 2007-05-16 14:47:00.000000000 +0000 >> > +++ /dev/null 2005-05-14 16:37:31.000000000 +0000 >> > @@ -1 +0,0 @@ >> > - >> > \ No newline at end of file >> > * FAIL 3: expect no output >> > $compare out /dev/null >> >> Can you see why that's failing? > > # dd if=/dev/zero of=FILE bs=1M count=1 2>/dev/null > # parted -s FILE mklabel msdos >out 2>&1 > # xxd out > 0000000: 1b5b 3f31 3033 3468 .[?1034h
That's probably coming from one of your startup dot files (.bashrc, .zshrc, .zshenv, etc.). Starting a non-interactive shell must generate no output. E.g., $ bash -c true | od -x 0000000 but if I use zsh and put "echo foo" in .zshenv, I get this: $ zsh -c true | od -xa 0000000 6f66 0a6f f o o nl 0000004 _______________________________________________ bug-parted mailing list bug-parted@gnu.org http://lists.gnu.org/mailman/listinfo/bug-parted