[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] GNU tar 1.28: tests 161 163 fail on !Linux
From: |
Nathan Stratton Treadway |
Subject: |
Re: [Bug-tar] GNU tar 1.28: tests 161 163 fail on !Linux |
Date: |
Tue, 5 Aug 2014 16:52:22 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Tue, Aug 05, 2014 at 22:07:20 +0200, Christian Weisgerber wrote:
> On both FreeBSD and OpenBSD, these tests in GNU tar 1.28 fail:
>
> 161: remfiles08a.at:28 remove-files deleting two subdirs in -c/non-incr.
> mode
> create remove-files remfiles08 remfiles08a
> 163: remfiles08c.at:28 remove-files deleting two subdirs in -r mode
> create append remove-files remfiles08 remfiles08c
>
> According to an earlier message to bug-tar, they also fail on Solaris.
>
> I've looked at test #161 and it does this:
>
> mkdir foo
> mkdir bar
> echo foo/foo_file > foo/foo_file
> echo bar/bar_file > bar/bar_file
> decho A
> tar -cvf foo.tar --remove-files -C foo . -C ../bar .
> decho B
> find .
Do you happen to still have tar 1.27.1 available on these test systems?
I am fairly certain that tar's behavior in these cases (i.e.
tar -cvf foo.tar --remove-files -C foo . -C ../bar .
and
tar -rvf foo.tar --remove-files -C foo . -C ../bar .
) hasn't changed between 1.27.1 and 1.28, but it would be interesting to
know for sure if those operations fail in 1.27.1, too.
(That is, the remfiles08* test cases were added in 1.28 as part of an
effort to have comprehensive coverage of all the various code paths
related to the --remove-files option... but I am guessing they are just
catching a bug that did already exist, unnoticed in 1.27.1.)
Nathan
----------------------------------------------------------------------------
Nathan Stratton Treadway - address@hidden - Mid-Atlantic region
Ray Ontko & Co. - Software consulting services - http://www.ontko.com/
GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: 1023D/ECFB6239
Key fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239