]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: improve new ascii test of dd
authorBernhard Voelker <mail@bernhard-voelker.de>
Wed, 7 May 2014 16:42:03 +0000 (18:42 +0200)
committerBernhard Voelker <mail@bernhard-voelker.de>
Wed, 7 May 2014 16:42:03 +0000 (18:42 +0200)
commit03440189a01139418fd554f40ec6e86f3ca143dc
tree72bdd4b062002d094c915b020d1fe670f9e312f8
parent3974c0932df8281f4e0fa34c36c07a9d72f1155d
tests: improve new ascii test of dd

* tests/dd/ascii.sh: Avoid unnecessary subshells.  Catch dd's
exit code.  Remove testing artifact.  In the case of a comparison
failure, show the differences in octal format in addition to
"binary files differ".  Simplify the creation of the 'in' file.
tests/dd/ascii.sh