Bugfixes.

* src/buffer.c (try_new_volume): Print more information with error
diagnostics.
(_gnu_flush_write): Improve error checking.  Adjust
real_s_sizeleft before calling new_volume to avoid creating
malformed multivolume headers.
* tests/delete05.at, tests/gzip.at, tests/ignfail.at,
tests/longv7.at, tests/lustar01.at, tests/lustar02.at,
tests/shortfile.at: Update to match new diagnostic wording
(see 2008-05-06).

* NEWS: Update.
This commit is contained in:
Sergey Poznyakoff
2008-06-26 06:32:25 +00:00
parent 1024343a2b
commit 985637ab5a
11 changed files with 48 additions and 9 deletions

View File

@@ -42,7 +42,7 @@ tar tf archive
to
],
[tar: tre: Not found in archive
tar: Error exit delayed from previous errors
tar: Exiting with failure status due to previous errors
])
AT_CLEANUP

View File

@@ -35,7 +35,7 @@ test $? = 2 || exit 1
[
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
tar: Exiting with failure status due to previous errors
],
[],[])

View File

@@ -64,12 +64,12 @@ test $status = 0
[
-----
tar: file: Cannot open: Permission denied
tar: Error exit delayed from previous errors
tar: Exiting with failure status due to previous errors
-----
tar: file: Warning: Cannot open: Permission denied
-----
tar: directory: Cannot open: Permission denied
tar: Error exit delayed from previous errors
tar: Exiting with failure status due to previous errors
-----
tar: directory: Warning: Cannot open: Permission denied
])

View File

@@ -40,7 +40,7 @@ tar tf archive
DIR/
],
[tar: DIR/FILE: file name is too long (max 99); not dumped
tar: Error exit delayed from previous errors
tar: Exiting with failure status due to previous errors
],
[],[],[v7])

View File

@@ -31,7 +31,7 @@ tar cf archive LONGNAME
[2],
[],
[tar: LONGNAME: file name is too long (cannot be split); not dumped
tar: Error exit delayed from previous errors
tar: Exiting with failure status due to previous errors
],[],[],[ustar])
AT_CLEANUP

View File

@@ -36,7 +36,7 @@ tar cf archive PREFIX_155
[2],
[],
[tar: PREFIX_155/: file name is too long (cannot be split); not dumped
tar: Error exit delayed from previous errors
tar: Exiting with failure status due to previous errors
],[],[],[ustar])
AT_CLEANUP

View File

@@ -33,7 +33,7 @@ tar tf foo
[2],
[],
[tar: This does not look like a tar archive
tar: Error exit delayed from previous errors
tar: Exiting with failure status due to previous errors
],
[],[],[gnu])