[Top][All Lists]

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

[Bug-tar] Race condition in GNU tar test-suite

From: Alex Owen
Subject: [Bug-tar] Race condition in GNU tar test-suite
Date: Tue, 19 Dec 2006 10:56:17 +0000

The Debian Project seems to have found a bug in the tar test suite.
The bug appears to be a race condition in tests/append02.at

I could not find mention of the bug in the bug-tar archives at:
so I'm reporting it now!

This patch makes the race loose consistently and the test will fail

--- tests/append02.at.orig      2006-07-24 10:09:30.000000000 +0100
+++ tests/append02.at   2006-12-19 10:49:07.000000000 +0000
@@ -53,6 +53,8 @@
echo Creating archive.1
tar cf archive.1 file1 file2

+sleep 2
echo Creating archive.2
tar cfT archive.2 /dev/null
tar rf archive.2 file1

A full analisys by those more insightful than me is available at:

I suspect that the Debian Project will just disable the test for the
time being but I guess you GNU tar folks will want to fix the test!

Alex Owen

reply via email to

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