From: Carl Worth Date: Tue, 4 Aug 2009 17:29:38 +0000 (-0700) Subject: Revert "Add hardlinks test (to ensure they are preserved with --remove-files)" X-Git-Url: https://git.cworth.org/git?p=tar;a=commitdiff_plain;h=008190ee7bf322e7a906806d170bcde2aaa54f0a Revert "Add hardlinks test (to ensure they are preserved with --remove-files)" This reverts commit a75570c728ed2c3f65fb075491a07a9b4ade407f. --- diff --git a/tests/hardlinks.at b/tests/hardlinks.at deleted file mode 100644 index 9e01ec3..0000000 --- a/tests/hardlinks.at +++ /dev/null @@ -1,50 +0,0 @@ -# Process this file with autom4te to create testsuite. -*- Autotest -*- - -# Test suite for GNU tar. -# Copyright (C) 2009 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301, USA. - -# Problem: hard links not preserved with --remove-files -# Reported by: "Theodore Y. Ts'o" -# References: -# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=188663 - -AT_SETUP([preserve hard links with --remove-files]) -AT_KEYWORDS([hardlinks]) - -AT_TAR_CHECK([ -genfile -l 64 -f file1 -link file1 file2 -link file2 file3 -link file3 file4 -tar cf archive --remove-files file1 file2 file3 file4 -tar xf archive -rm archive -genfile --stat=st_nlink file1 -genfile --stat=st_nlink file2 -genfile --stat=st_nlink file3 -genfile --stat=st_nlink file4 -], -[0], -[4 -4 -4 -4 -]) - -AT_CLEANUP - diff --git a/tests/testsuite.at b/tests/testsuite.at index 34325d7..a12477d 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -140,8 +140,6 @@ m4_include([extrac07.at]) m4_include([gzip.at]) -m4_include([hardlinks.at]) - m4_include([incremental.at]) m4_include([incr01.at]) m4_include([incr02.at])