comm.test 247 B

123456789
  1. #!/bin/bash
  2. [ -f testing.sh ] && . testing.sh
  3. #testing "name" "command" "result" "infile" "stdin"
  4. for i in a b c ; do echo $i >> lhs ; done
  5. for i in c d e ; do echo $i >> rhs ; done
  6. testing "comm" "comm lhs rhs" "a\nb\n\t\tc\n\td\n\te\n" "" ""