Commit Graph
145 Commits
Author SHA1 Message Date
Sergey Poznyakoff c81a5e8bf5 Close stdin so that if something fails causing tar to ask for the next volume, it won't hang the testsuite. 2005-11-11 12:17:38 +00:00
Sergey Poznyakoff 7e51be5fe2 Update 2005-11-11 00:26:39 +00:00
Sergey Poznyakoff 05ba292a93 (AT_TAR_CHECK): Define TEST_TAR_FORMAT 2005-11-11 00:26:18 +00:00
Sergey Poznyakoff 5f060c2025 Add new test cases 2005-11-10 13:00:11 +00:00
Sergey Poznyakoff f3a24a7a51 (AT_KEYWORDS): Improve to allow executionof related tests in groups. 2005-11-09 13:09:44 +00:00
Paul Eggert 57c2124d68 * src/tar.c (NS_PRECISION_FORMAT_MASK): New macro.
(tar_timespec_cmp): New function. Wrapper over
timespec_cmp using the timespec precision provided by the
current archive format.
* src/common.h (tar_timespec_cmp): New declaration.
* src/compare.c (diff_file): Use tar_timespec_cmp.
* src/extract.c (file_newer_p): Likewise.
* src/update.c (update_archive): Likewise.
* tests/truncate.at: Reverted changes
* tests/update.at: Reverted changes
2005-11-08 07:20:02 +00:00
Paul Eggert cfbf693855 * tests/truncate.at: Create files whose time stamps must fall on
1-second boundaries.  This prevents tests from failing on hosts
like Solaris 8 that have nanosecond-resolution file time stamps.
* tests/update.at: Likewise.
2005-11-07 04:03:29 +00:00
Sergey Poznyakoff 4d22cbd47c Test gnu, oldgnu, and posix formats 2005-11-07 02:51:22 +00:00
Paul Eggert d144e7c217 * tests/truncate.at: Use -H pax to preserve full time stamp resolution.
This prevents tests from failing on hosts like Solaris 8 that have
nanosecond-resolution file time stamps.
* tests/update.at: Likewise.
2005-11-06 23:29:30 +00:00
Sergey Poznyakoff ef981aae38 Never skip the test. It should work on any filesystem 2005-11-05 15:55:38 +00:00
Sergey Poznyakoff 36f1d689e4 Sleep 1 sec before creating second file. 2005-11-05 15:55:19 +00:00
Sergey Poznyakoff 3ae9e51181 Skip test if ln fails (suppose the OS does not support hard links) 2005-10-21 18:13:59 +00:00
Paul Eggert 63f64e4aaf * tests/Makefile.am (clean-local): Don't attempt to run
$(TESTSUITE) if it doesn't exist.  Problem reported by
Eric Blake.
2005-09-21 19:26:12 +00:00
Sergey Poznyakoff 931e305002 Add incr01.at 2005-09-03 10:28:17 +00:00
Sergey Poznyakoff a57ecc51aa New test. 2005-09-03 10:27:39 +00:00
Sergey Poznyakoff e0b0becead Remove dependency on file order. 2005-08-01 06:22:43 +00:00
Sergey Poznyakoff 9106e53684 Pipe the output from `tar xfv' through sort. 2005-07-07 16:20:03 +00:00
Sergey Poznyakoff 44ce72fa96 Adapt to the new output format 2005-06-23 12:57:18 +00:00
Sergey Poznyakoff b65039526c Updated 2005-06-23 12:16:00 +00:00
Sergey Poznyakoff fb1b9e3d0f New test. 2005-06-23 12:15:50 +00:00
Sergey Poznyakoff 3fe8fc3ef9 Add update.at 2005-06-13 19:11:43 +00:00
Sergey Poznyakoff 372ff169e7 New test 2005-06-13 19:10:56 +00:00
Paul Eggert 120e96c480 Update FSF postal mail address. 2005-05-15 03:59:08 +00:00
Sergey Poznyakoff 3ac99bc540 Updated 2005-05-12 15:46:18 +00:00
Sergey Poznyakoff a33b37a9a3 Add truncate.at 2005-05-12 15:40:07 +00:00
Sergey Poznyakoff c9365a1d09 New test case 2005-05-12 15:39:54 +00:00
Paul Eggert 89a4824c73 Tell awk to read from /dev/null. 2005-05-02 08:02:35 +00:00
Sergey Poznyakoff 6c6fe16aaa Add shortrec.at 2005-04-19 09:05:32 +00:00
Paul Eggert 27b98aa8ae * src/buffer.c (reading_from_pipe): Remove. All uses removed.
(short_read): Don't warn about short reads; they're normal.
* tests/shortrec.at: New file.
* tests/testsuite.at: Include it.
2005-04-18 18:21:50 +00:00
Paul Eggert 005d0d455c Use UTF-8 uniformly, rather than UTF-8 sometimes and Latin-1 sometimes. 2005-04-16 07:22:13 +00:00
Sergey Poznyakoff 9147c6c9f6 Add multiv04.at 2005-04-07 17:28:53 +00:00
Sergey Poznyakoff ee738da4a8 Test splittind directory members between the archive volumes. 2005-04-07 17:28:34 +00:00
Sergey Poznyakoff 42e53a98e1 Modified to match the new behavior 2005-04-07 17:27:30 +00:00
Sergey Poznyakoff b4fb3e9f74 Use -print with find 2005-02-15 15:24:51 +00:00
Sergey Poznyakoff ea9df3c243 Added reference to bug-tar archive 2005-02-15 14:46:16 +00:00
Sergey Poznyakoff eaa66dc858 Added append01.at 2005-02-10 22:52:13 +00:00
Sergey Poznyakoff a66ab8591f Test appending of files with long names 2005-02-10 22:52:00 +00:00
Sergey Poznyakoff 1044149e3a Determine path to the tar executable. 2005-02-04 00:04:55 +00:00
Sergey Poznyakoff e318ac6fe8 (RE_CHECK): Added missing space 2005-02-03 16:29:45 +00:00
Sergey Poznyakoff 71b7086ff7 sort ls output 2005-02-03 16:29:27 +00:00
Sergey Poznyakoff ccb2072c7e Extract and compare sparse file 2005-02-03 00:04:43 +00:00
Sergey Poznyakoff d8b24b63e8 Skip the test on filesystems that do not update ctime of a file when renaming it. To be reverted when the new incremental mode is ready. 2005-02-03 00:04:30 +00:00
Sergey Poznyakoff 0dcb0ad279 Added sparse02.at 2005-02-03 00:04:02 +00:00
Sergey Poznyakoff 0cde2ad44c Test extracting sparse files over a pipe. 2005-02-03 00:03:44 +00:00
Sergey Poznyakoff ebd88883f5 Add append.at 2005-02-01 05:47:20 +00:00
Sergey Poznyakoff 2b9556cb8e Complete the reference 2005-01-14 09:27:03 +00:00
Paul Eggert c6ca601327 (RE_CHECK): Use "join - file", not
"join file -", to work around a bug in Solaris 8 join.
2005-01-13 20:57:23 +00:00
Sergey Poznyakoff e7db56c0ef Added long01.at 2005-01-13 16:00:59 +00:00
Sergey Poznyakoff 14d8c8a035 Sort tar output 2005-01-13 16:00:45 +00:00
Sergey Poznyakoff 471cf501e5 Test listing of GNU long names divisible by 512. 2005-01-13 16:00:23 +00:00