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