summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/coreutils-racy-tail-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/patches/coreutils-racy-tail-test.patch')
-rw-r--r--gnu/packages/patches/coreutils-racy-tail-test.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/patches/coreutils-racy-tail-test.patch b/gnu/packages/patches/coreutils-racy-tail-test.patch
new file mode 100644
index 0000000000..91640513e4
--- /dev/null
+++ b/gnu/packages/patches/coreutils-racy-tail-test.patch
@@ -0,0 +1,13 @@
+Skip this test, which uncovers a race condition in how 'tail' handles
+file deletion. See <http://bugs.gnu.org/21460>.
+
+--- a/tests/tail-2/assert.sh
++++ b/tests/tail-2/assert.sh
+@@ -16,6 +16,7 @@
+ # You should have received a copy of the GNU General Public License
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
+
++exit 77 # see <http://bugs.gnu.org/21460>
+
+ # This test fails with tail from textutils-2.0.
+ # It would get something like this: