Running make check TESTSUITEFLAGS=-j9 on a 4-core system causes something (enough I/O contention?) that makes test #61 always fail for me:
61: file removed as we read it (ca. 22 seconds) FAILED (filerem01.at:37) Here's output from the log dir/file: --- - 2010-11-08 20:44:52.899814607 +0100 +++ /home/j/w/co/tar/tests/testsuite.dir/at-groups/61/stderr 2010-11-08 20:44: 52.897200766 +0100 @@ -1,4 +1,4 @@ tar: dir: Directory is new tar: dir/sub: Directory is new -tar: dir/file1: File removed before we read it +tar: dir/file1: file changed as we read it This patch solves it for me: >From e22d60c065166fdf11634bad64f264bfe083e409 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Mon, 8 Nov 2010 21:48:45 +0100 Subject: [PATCH] tests: avoid filerem01 failure in massively parallel test * tests/filerem01.at: Unlink at 2nd checkpoint, not 3rd. --- tests/filerem01.at | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/filerem01.at b/tests/filerem01.at index a2561d7..6fda52d 100644 --- a/tests/filerem01.at +++ b/tests/filerem01.at @@ -40,7 +40,7 @@ mkdir dir/sub genfile --file dir/file1 genfile --file dir/sub/file2 -genfile --run --checkpoint=3 --unlink dir/file1 -- \ +genfile --run --checkpoint=2 --unlink dir/file1 -- \ tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \ --checkpoint-action='echo' -c -f archive.tar \ --listed-incremental db -v dir >/dev/null -- 1.7.3.2.2.gaf77a
