summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c8815b7)
HÃ¥kon Alstadheim reported that Debian's lzma-9.22-2 would complain at
`lzma -cd foo.tar' with `unknown suffix -- unchanged' even though it was
not being asked to alter the file, or produce a new one based on its
filename. This appears to be https://bugs.debian.org/700681. The lzma
from Arch Linux's xz 5.2.3-1 does no have this fault. Work around it by
feeding the file to decompress on standard input for all the compression
programs being tested; none of the others should mind.
(cd $MH_TEST_DIR/tmp &&
contents=`mhstore -noauto last 2>&1 | \
sed -e 's/storing message.*as file //'` &&
(cd $MH_TEST_DIR/tmp &&
contents=`mhstore -noauto last 2>&1 | \
sed -e 's/storing message.*as file //'` &&
- $uncompress "$contents" | tar xpf - && rm -f "$contents")
+ $uncompress <"$contents" | tar xpf - && rm -f "$contents")
rmm last
check "$testfiledir/$testfile" "$MH_TEST_DIR/tmp/$testfile" \
rmm last
check "$testfiledir/$testfile" "$MH_TEST_DIR/tmp/$testfile" \