[PATCH] tests: move input-tty into a test-lib.sh function

2008-09-10 Thread Jim Meyering
Another clean-up patch. In case you apply this, it comes before the Exit one. >From 22e5102f1961c5552d20c3791cbc99b6b001e83f Mon Sep 17 00:00:00 2001 From: Jim Meyering <[EMAIL PROTECTED]> Date: Sun, 7 Sep 2008 11:54:43 +0200 Subject: [PATCH] tests: move input-tty into a test-lib.sh function * te

[PATCH] tests: use "Exit $fail", not (exit $fail); exit $fail

2008-09-10 Thread Jim Meyering
This is a big clean-up-only change, but almost completely mechanical. I've omitted the repetitive parts. Thanks again for the new Exit function definition, Ralf. >From bb32a495794efea452b3cae8f04e2ceda4c1 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[EMAIL PROTECTED]> Date: Sun, 7 Sep 2008 10:

[PATCH] tests: don't use "local" in bourne shell scripts

2008-09-10 Thread Jim Meyering
I wanted to avoid dumbing down the test scripts, but the cost is low, so I've gone ahead. >From 8c6e017ff7c2e1023fd7de83b1da9d495fb24bf7 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[EMAIL PROTECTED]> Date: Mon, 8 Sep 2008 08:23:37 +0200 Subject: [PATCH] tests: don't use "local" in bourne shell sc

[PATCH] doc: mention which commands may be built-in functions

2008-09-10 Thread Jim Meyering
This started when I noticed that in Solaris 11's /bin/sh sleep is a built-in function. That broke one of coreutils' tests. (fixed, patch coming up) doc: mention which commands may be built-in functions * doc/coreutils.texi (mayConflictWithShellBuiltIn): New macro. (mknod i

Re: uniq works not correct

2008-09-10 Thread James Youngman
On Wed, Sep 10, 2008 at 9:51 AM, Pádraig Brady <[EMAIL PROTECTED]> wrote: > Same error happens on fedora. > > So it's probably related to that horrible i18n patch applied > by distros [...] Could be. Debian Lenny is unaffected. $ sort test test | uniq -u | wc -l ; wc -l test 0 45 test __

Re: uniq works not correct

2008-09-10 Thread Pádraig Brady
Same error happens on fedora. So it's probably related to that horrible i18n patch applied by distros but rightly used the upstream coreutils project. $ file test test: ISO-8859 text $ echo $LANG en_IE.UTF-8 $ rpm -q coreutils coreutils-6.9-12.fc8 $ ~/git/coreutils/src/uniq --version uniq (GNU