blob: 7f5134f7e73519bdb52e87593735d80a78b307b7 [file]
#!/bin/bash
#testing "name" "command" "result" "infile" "stdin"
rm -f foo
testcmd 'simple' '-l 123 foo && stat -c %s foo' '123\n' '' ''
testcmd 'shorter' '-l 12 foo && stat -c %s foo' '123\n' '' ''
testcmd 'longer' '-o 200 -l 12 foo && stat -c %s foo' '212\n' '' ''