1#!/bin/bash
2
3#testing "name" "command" "result" "infile" "stdin"
4
5rm -f foo
6testcmd 'simple' '-l 123 foo && stat -c %s foo' '123\n' '' ''
7testcmd 'shorter' '-l 12 foo && stat -c %s foo' '123\n' '' ''
8testcmd 'longer' '-o 200 -l 12 foo && stat -c %s foo' '212\n' '' ''
9