<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/ls, branch v8.7</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.7</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2010-11-01T16:02:39Z</updated>
<entry>
<title>tests: fix a false positive for 32 bit on 64 bit hosts</title>
<updated>2010-11-01T16:02:39Z</updated>
<author>
<name>Nix</name>
<email>nix@esperi.org.uk</email>
</author>
<published>2010-11-01T15:46:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=272f8bf0ac23d7c9ac96f3cb53e114cd3566875b'/>
<id>urn:sha1:272f8bf0ac23d7c9ac96f3cb53e114cd3566875b</id>
<content type='text'>
* tests/ls/stat-free-symlinks: strace currently outputs an
informational message about arch difference to stdout.
Therefore we need to strip that before comparison.
</content>
</entry>
<entry>
<title>tests: make various timeouts more robust</title>
<updated>2010-09-07T13:02:56Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-09-07T13:02:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c52d220c300c63a93ffd39dd29e89201e6fd929c'/>
<id>urn:sha1:c52d220c300c63a93ffd39dd29e89201e6fd929c</id>
<content type='text'>
* tests/init.cfg (retry_delay_): Describe
the backoff method used.
* tests/ls/readdir-mountpoint-inode: Add a timeout
to the stat call to eliminate the chance of hangups.
* tests/mv/i-3: Change the timeout required to pass
from 1 second to a range of .1s - 3.1s.
* tests/rm/dangling-symlink: Likewise.
</content>
</entry>
<entry>
<title>ls: fix a test failure that should have been skipped</title>
<updated>2010-08-09T14:52:12Z</updated>
<author>
<name>Dan Hipschman</name>
<email>dsh@linux.ucla.edu</email>
</author>
<published>2010-07-31T01:49:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=24f1af88c79de353fb51ab4eecad99143c4e16fd'/>
<id>urn:sha1:24f1af88c79de353fb51ab4eecad99143c4e16fd</id>
<content type='text'>
* tests/ls/readdir-mountpoint-inode: Check to see if skip_test_ is
called in a helper function via $() instead of mistakenly failing.
* THANKS: Update.
</content>
</entry>
<entry>
<title>tests: avoid spurious failure of ls/color-norm test</title>
<updated>2010-04-15T23:26:21Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-04-14T14:32:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3a1595a3fbb07c53ea920c969667f0346a10534c'/>
<id>urn:sha1:3a1595a3fbb07c53ea920c969667f0346a10534c</id>
<content type='text'>
* tests/ls/color-norm: Use the "time" output by `ls -l`
to check normal style.  Previously we used the size from `ls -s`,
but the size of "empty" files can vary depending on whether
SELinux is enabled for example.
</content>
</entry>
<entry>
<title>tests: avoid spurious failure of root-only ls/capability test</title>
<updated>2010-04-14T13:48:31Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-04-14T13:48:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=05bee6f116d81084f5796b2ab1ec12135fb72fc2'/>
<id>urn:sha1:05bee6f116d81084f5796b2ab1ec12135fb72fc2</id>
<content type='text'>
* tests/ls/capability: Adjust this test not to expect the no-op escape
sequence that was removed from all other tests by 2010-01-30 commit
5d43617e, "ls --color: don't emit a final no-op escape sequence".
</content>
</entry>
<entry>
<title>ls: fix a regression by honoring NORMAL attributes again</title>
<updated>2010-02-17T23:25:12Z</updated>
<author>
<name>Moritz Orbach</name>
<email>ml-coreutils@apfelboymchen.homeunix.net</email>
</author>
<published>2010-02-16T22:48:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f5268e2749d5649a3364550ef54bf31d9aa9c4e1'/>
<id>urn:sha1:f5268e2749d5649a3364550ef54bf31d9aa9c4e1</id>
<content type='text'>
Output the NORMAL attribute before non file name text.
This attribute will continue into file names that would
not otherwise be colored unless FILE is also set.
The regression was introduced with commit 483297d5, 28-02-2009,
"ls --color no longer outputs unnecessary escape sequences".

* src/ls.c (set_normal_color): A new function to output the
NORMAL attribute sequence if it's enabled.
(print_current_files): Output NORMAL before printing long format info.
(print_file_name_and_frills): Output NORMAL before printing file name.
(print_color_indicator): Reset the attributes before a file name with
attributes so that NORMAL attributes will not combine with them.
(print_name_with_quoting): Ensure attributes are reset after printing
the file name if NORMAL attributes were output.
* tests/ls/color-norm: A new test for NORMAL and FILE combinations.
* tests/Makefile.am: Reference the new test.
* NEWS: Mention the fix.
Reported in https://savannah.gnu.org/bugs/?26512
</content>
</entry>
<entry>
<title>tests: fix various timeout races</title>
<updated>2010-02-02T15:16:40Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-02-02T10:47:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=dd2253f49da057a677199b18b8673cc09bd1f2f5'/>
<id>urn:sha1:dd2253f49da057a677199b18b8673cc09bd1f2f5</id>
<content type='text'>
Prompted by the continuous integration build failure at:
http://hydra.nixos.org/build/277485

* tests/misc/timeout: Set all expected timeouts to 1s and all
unexpected timeouts to 10s. In this way, tests normally proceed
quickly but may delay up to 10s before reporting failures.
* tests/ls/infloop: Likewise.
* tests/tail-2/pid: Likewise.
* tests/tail-2/pipe-f: Likewise.
* tests/tail-2/wait: Likewise.
* tests/dd/skip-seek-past-dev: Likewise.
</content>
</entry>
<entry>
<title>ls --color: don't emit a final no-op escape sequence</title>
<updated>2010-02-01T07:26:12Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-01-30T22:52:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5d43617e8ad863ed041309edefd018fdcaa87038'/>
<id>urn:sha1:5d43617e8ad863ed041309edefd018fdcaa87038</id>
<content type='text'>
* src/ls.c (main): With --color, avoid emitting the final color-
resetting escape sequence when it would be a no-op.
* tests/ls/color-clear-to-eol: Adjust expected output accordingly.
* tests/ls/color-dtype-dir: Likewise.
* tests/ls/multihardlink: Likewise.
* tests/ls/stat-free-symlinks: Likewise.
* tests/misc/ls-misc: Likewise.
* NEWS (Changes in behavior): Mention it.
C de-Avillez rebased and adapted four of the new sl-dangle*
tests in tests/misc/ls-misc.
Reported by Jim Avera in
http://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/494663
</content>
</entry>
<entry>
<title>maint: ensure test independence from config macro format</title>
<updated>2010-01-23T22:53:52Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-01-22T19:26:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=014fead953b630560f308fe577cf5488f4c95bc0'/>
<id>urn:sha1:014fead953b630560f308fe577cf5488f4c95bc0</id>
<content type='text'>
* tests/cp/acl: Support USE_ACL not being defined.
* tests/mv/acl: Likewise. Also fix typo in skip message.
* tests/cp/preserve-slink-time: Support HAVE_UTIMENSAT being 0.
* tests/touch/no-dereference: Likewise.
* tests/ls/capability: Normalize so 1 is not required to be last char.
</content>
</entry>
<entry>
<title>tests: work around spurious test failure with OpenBSD4.5's /bin/sh</title>
<updated>2010-01-13T09:55:55Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-01-13T09:53:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f28c7d959be30be0b216880878e8b0909d810a18'/>
<id>urn:sha1:f28c7d959be30be0b216880878e8b0909d810a18</id>
<content type='text'>
* tests/ls/infloop: OpenBSD4.5's /bin/sh would mistakenly include
"set -x"-output in an application's stderr stream when stderr is
redirected before stdout.  This was causing one spurious test failure.
The work-around: redirect stdout first.
Reported by Nelson Beebe.
</content>
</entry>
</feed>
