<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests, branch v8.8</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.8</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.8'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2010-12-22T10:52:11Z</updated>
<entry>
<title>maint: correct test-related comments</title>
<updated>2010-12-22T10:52:11Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-12-22T10:49:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=887d530e62f7495de3a8289d07bf11a76390555b'/>
<id>urn:sha1:887d530e62f7495de3a8289d07bf11a76390555b</id>
<content type='text'>
* tests/mv/i-3: Adjust comment to match just-changed code.
Spotted by Pádraig Brady.
* tests/init.cfg (retry_delay_): Correct spelling of function name
in usage example.
</content>
</entry>
<entry>
<title>tests: mv/i-3: avoid false-positive failure on a slow/busy system</title>
<updated>2010-12-22T09:29:30Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-12-22T09:29:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a300cfd43ccb3f48f5110a2abf6fe234fece3dc3'/>
<id>urn:sha1:a300cfd43ccb3f48f5110a2abf6fe234fece3dc3</id>
<content type='text'>
* tests/mv/i-3: Quadruple the timeout duration.
Without this, I saw an expired timeout on a heavily-loaded system.
</content>
</entry>
<entry>
<title>tests: avoid new false-positive failure on at least FreeBSD 8.1</title>
<updated>2010-12-21T08:30:55Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-12-20T13:27:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7ca55ef3d1ac512aaa99871adcdd8f21eb5af775'/>
<id>urn:sha1:7ca55ef3d1ac512aaa99871adcdd8f21eb5af775</id>
<content type='text'>
* tests/mv/trailing-slash: Accommodate different diagnostic
on FreeBSD 8.1.
</content>
</entry>
<entry>
<title>tests: sync init.sh from gnulib</title>
<updated>2010-12-19T04:03:21Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2010-12-19T04:02:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5947491895ae37c68941a36960face05269b5a85'/>
<id>urn:sha1:5947491895ae37c68941a36960face05269b5a85</id>
<content type='text'>
* tests/init.sh (setup_): Initialize fail=0 before invoking mktempd_.
Ensure that IFS is defined initially.
(mktempd_): Remove fail=0 initialization; no longer needed.
</content>
</entry>
<entry>
<title>cp: ensure backups are created when -T specified</title>
<updated>2010-12-19T00:36:29Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-12-18T02:50:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e66948c3b59045bf8b9f6bd1e0dcc3bb93488cab'/>
<id>urn:sha1:e66948c3b59045bf8b9f6bd1e0dcc3bb93488cab</id>
<content type='text'>
* src/cp.c (do_copy): When -T is specified, initialize
the NEW_DST and SB variables, which are checked when
running: cp -T --force --backup file file
* tests/cp/backup-1: Add the -T case
</content>
</entry>
<entry>
<title>sort: use at most 8 threads by default</title>
<updated>2010-12-19T00:33:45Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-12-18T05:27:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0e181024c00b746a930aab6a0cfd9162d7b67ae4'/>
<id>urn:sha1:0e181024c00b746a930aab6a0cfd9162d7b67ae4</id>
<content type='text'>
* src/sort.c (main): If --parallel isn't specified,
restrict the number of threads to 8 by default.
If the --parallel option is specified, then
allow any number of threads to be set, independent
of the number of processors on the system.
* doc/coreutils.texi (sort invocation): Document the changes
to determining the number of threads to use.
Mention the memory overhead when using multiple threads.
* tests/misc/sort-spinlock-abuse: Allow single core
systems that support pthreads.
* tests/misc/sort-stale-thread-mem: Likewise.
* tests/misc/sort-unique-segv: Likewise.
* NEWS: Mention the change in behaviour.
</content>
</entry>
<entry>
<title>tests: avoid spurious du/bigtime failure</title>
<updated>2010-12-18T07:04:46Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-12-17T15:55:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=6d488ca041eedbc833c2f73247c4deea380a0382'/>
<id>urn:sha1:6d488ca041eedbc833c2f73247c4deea380a0382</id>
<content type='text'>
* tests/du/bigtime: Map nonzero block count to 0.
Reported by Assaf Gordon.
* THANKS: Update.
</content>
</entry>
<entry>
<title>tests: set fail=0 by default</title>
<updated>2010-12-18T06:40:20Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2010-12-18T06:39:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c67a96c4c15a738e7b1ab28c652f5f511e121cdb'/>
<id>urn:sha1:c67a96c4c15a738e7b1ab28c652f5f511e121cdb</id>
<content type='text'>
* tests/init.sh (setup_): Set fail=0.  This was the intent as per
&lt;http://lists.gnu.org/archive/html/bug-coreutils/2010-12/msg00058.html&gt;
but the assignment in mktempd_ is ineffective, since mktempd_
is used inside `` and its assignments are in a subshell.
</content>
</entry>
<entry>
<title>sort: fix hang with sort --compress</title>
<updated>2010-12-16T21:55:31Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2010-12-16T21:55:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1b31ce6982a9151d9dfe2ea3595ad7595cb9ca86'/>
<id>urn:sha1:1b31ce6982a9151d9dfe2ea3595ad7595cb9ca86</id>
<content type='text'>
* NEWS: Document this.
* src/sort.c (UNCOMPRESSED, UNREAPED, REAPED): New constants.
(struct tempnode): New member 'state', to hold these constants.
The pid member is now undefined if state == UNCOMPRESSED.
(struct sortfile): Replace member 'pid' with member 'temp'.
(uintptr): Remove.
(proctab_hasher, proctab_comparator, register_proc, delete_proc):
Proctab entries are now struct tempnode *, not pid_t, to handle
the case where multiple tempnode objects correspond to the same
pid.  This avoids a race condition that can cause a hang.
(register_proc): Arg is now struct tempnode *, not pid_t.  All
callers changed.
(delete_proc): Set tempnode state to REAPED.
(create_temp_file): No need to set pid member here; it's now
done when the pid is known.
(maybe_create_temp, create_temp): Remove PPID arg.  Return struct
tempnode *, not char *.  All callers changed.
(maybe_create_temp): Set node state to UNCOMPRESSED or UNREAPED.
No need to set node-&gt;pid to 0.
(open_temp): Replace NAME and PID args with a single TEMP arg.
All callers changed.  Wait only for unreaped children.
(zaptemp): Wait for decompressor to finish before removing its
temporary-file input.  This avoids .nfsXXXX hassles with NFS
and fixes a race (leading to a hang) regardless of NFS.
(open_input_files): Adjust to new way of dealing with temp files
and their subprocesses.
* tests/Makefile.am (TESTS): Add misc/sort-compress-hang.
* tests/misc/sort-compress-hang: New file.
</content>
</entry>
<entry>
<title>sort: don't dump core when merging from input twice</title>
<updated>2010-12-16T08:04:32Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2010-12-16T08:03:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f3c584d1e08646704cb46f4e5b6afc4afef3f70a'/>
<id>urn:sha1:f3c584d1e08646704cb46f4e5b6afc4afef3f70a</id>
<content type='text'>
* NEWS: Document this.
* src/sort.c (avoid_trashing_input): The previous fix to this
function didn't fix all the problems with this code.  Replace it
with something simpler: just copy the input file.  This doesn't
change the number of files, so return void instead of the updated
file count.  Caller changed.
* tests/misc/sort-merge-fdlimit: Test for the bug.
</content>
</entry>
</feed>
