bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: the test suite fails


From: Jim Meyering
Subject: Re: the test suite fails
Date: Wed, 16 May 2007 22:54:00 +0200

Benno Schulenberg <address@hidden> wrote:

> Jim Meyering wrote:
>> Benno Schulenberg <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]