bug-parted
[Top][All Lists]
Advanced

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

Re: the test suite fails -- because of ncurses-5.6


From: Jim Meyering
Subject: Re: the test suite fails -- because of ncurses-5.6
Date: Thu, 17 May 2007 13:23:16 +0200

Benno Schulenberg <address@hidden> 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 <address@hidden>
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 <address@hidden>
---
 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...




reply via email to

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