mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 12:00:56 +01:00
fixed invalid echo -n calls, which didnt work under /bin/sh
This commit is contained in:
@@ -353,13 +353,13 @@ dxmorg@florida.cops.gov
|
|||||||
</test>
|
</test>
|
||||||
|
|
||||||
<test check-if-catch-empty-input>
|
<test check-if-catch-empty-input>
|
||||||
prepare = echo -n > testfile-empty
|
prepare = touch testfile-empty
|
||||||
cmd = $pcp -V $vault -P -I testfile-empty
|
cmd = $pcp -V $vault -P -I testfile-empty
|
||||||
expect = /file is empty/
|
expect = /file is empty/
|
||||||
</test>
|
</test>
|
||||||
|
|
||||||
<test check-if-catch-missing-newlines>
|
<test check-if-catch-missing-newlines>
|
||||||
prepare = ./jot 5000 | while read ignore; do echo -n X; done > testfile-toolong
|
prepare = perl -e 'print "X" x 5000; print "\n"' > testfile-toolong
|
||||||
cmd = $pcp -V $vault -P -I testfile-toolong
|
cmd = $pcp -V $vault -P -I testfile-toolong
|
||||||
expect = /line is too long/
|
expect = /line is too long/
|
||||||
</test>
|
</test>
|
||||||
|
|||||||
Reference in New Issue
Block a user