summaryrefslogtreecommitdiff
path: root/tests/append.at
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2016-03-15 00:02:40 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2016-03-15 00:02:40 +0200
commit2a7c84b4a9d2a0740c7453e82433518218d1bb17 (patch)
treec988df57abe6f05a5e1b90b12e2186dd6bf03d1e /tests/append.at
parentda7845c6563e7337bf3e8364046a7989091f190e (diff)
downloadtar-2a7c84b4a9d2a0740c7453e82433518218d1bb17.tar.gz
Fix appending to archive with changed blocking factor.
* src/buffer.c (flush_archive): If previous reading attempt resulted in short read, correctly use the remaining record space. (backspace_output): Fix position calculation (still has to be improved). * tests/append05.at: New test case. * tests/Makefile.am: Add new test. * tests/testsuite.at: Likewise.
Diffstat (limited to 'tests/append.at')
-rw-r--r--tests/append.at2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/append.at b/tests/append.at
index 88502db3..6fa587e3 100644
--- a/tests/append.at
+++ b/tests/append.at
@@ -27,7 +27,7 @@ AT_TAR_CHECK([touch file1
tar cf archive file1
tar rf archive file2
tar tf archive],
- [0],
+ [0],
[file1
file2
])