Benno Schulenberg <[EMAIL PROTECTED]> wrote:
> Jim Meyering wrote:
>> Then perhaps it's  readline?
>> Do you still get it if you invoke parted like this?
>>
>>     # env TERM=dumb parted /dev/hda quit | od -a
>
> # env TERM=dumb parted /dev/hda quit | od -a
> 0000000
>
...
> It's ncurses.  Downgrading from 5.6 to 5.5 made the bytes go away:

Thanks for confirming.
Here's this fix we'll use:

>From 6658990cc39e81f6b3594cd6536569c4da53a604 Mon Sep 17 00:00:00 2001
From: Jim Meyering <[EMAIL PROTECTED]>
Date: Thu, 17 May 2007 13:21:00 +0200
Subject: [PATCH] Avoid spurious test failures due to buggy ncurses-5.6.
* tests/test-lib.sh: Also unset TERM.

Signed-off-by: Jim Meyering <[EMAIL PROTECTED]>
---
 tests/test-lib.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/tests/test-lib.sh b/tests/test-lib.sh
index 170573d..8370963 100644
--- a/tests/test-lib.sh
+++ b/tests/test-lib.sh
@@ -12,6 +12,9 @@ export LANG LC_ALL TZ
 # CDPATH into the environment
 unset CDPATH

+# Avoid spurious test failures due to buggy ncurses-5.6.
+unset TERM
+
 # Each test should start with something like this, after copyright notices:
 #
 # test_description='Description of this test...


_______________________________________________
bug-parted mailing list
bug-parted@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-parted

Reply via email to