added tests for -C

This commit is contained in:
git@daemon.de
2015-07-17 17:40:07 +02:00
parent 3c7679706f
commit f7e6351640

View File

@@ -571,3 +571,19 @@ temporarily disabled
</test>
# checksum tests
<test checksums>
blake2 = 5baec1cad5bf54287028749d83f2bf3e3ed09f0ee38a233f35dbda1361c6a67fd824e17c86ee3a85181038eb44836c17c42e6beff17fdf997075417914056992
<test check-checksum-copying>
cmd = $pcp -C ../COPYING
expect = /$blake2/
</test>
<test check-checksum-copying-stdin>
cmd = $pcp -C < ../COPYING
expect = /$blake2/
</test>
<test check-checksum-multiple>
cmd = $pcp -C ../COPYING ../README
expect = /README/
</test>
</test>