diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-12-05 16:54:26 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-12-05 16:54:26 +0200 |
commit | 589ba77faf60e4632771d80e2b25d9e3778d4a3f (patch) | |
tree | a931f8980e5f6f5e97917dc1acc0d3f7a6964b4c /tests/Makefile.am | |
parent | 6ea9e62bb398b2f81e52f671749e585367286820 (diff) | |
download | tar-589ba77faf60e4632771d80e2b25d9e3778d4a3f.tar.gz |
Catch compressor execution errors.
* src/misc.c (write_fatal_details): Move to buffer.c
* src/buffer.c (write_fatal_details): Close the archive and wait for
the compressor program to terminate in order to catch eventual execution
errors.
* src/system.c (sys_child_open_for_compress): Ignore SIGPIPE so tar will
not silently terminate when unable to write to the compressor.
* tests/comperr.at: New file.
* tests/Makefile.am: Add comperr.at
* tests/testsuite.at: Include comperr.at
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index d9a52b3e..f1d12410 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -62,6 +62,7 @@ TESTSUITE_AT = \ backup01.at\ chtype.at\ comprec.at\ + comperr.at\ delete01.at\ delete02.at\ delete03.at\ |