Lines Matching full:input2
20 c" > input2
22 testcmd "identical files, stdout" "input input2" "" "ab\nc\n" ""
23 testcmd "identical files, return code" "input input2 && echo yes" "yes\n" "ab\nc\n" ""
25 testcmd "EOF, stderr" "input input2 2>&1" \
26 "cmp: EOF on input2 after byte 5, line 2\n" "ab\nc\nx" ""
27 testcmd "EOF, return code" "input input2 2>/dev/null || echo yes" "yes\n" "ab\nc\nx" ""
29 testcmd "diff, stdout" "input input2 | sed s/byte/char/" \
30 "input input2 differ: char 4, line 2\n" "ab\nx\nx" ""
31 testcmd "diff, return code" "input input2 > /dev/null || echo yes" "yes\n" "ab\nx\nx" ""
33 testcmd "-s EOF, return code" "-s input input2 2>&1 || echo yes" "yes\n" "ab\nc\nx" ""
34 testcmd "-s diff, return code" "-s input input2 2>&1 || echo yes" "yes\n" "ab\nx\nx" ""
36 testcmd "-l EOF, stderr" "-l input input2 2>&1" \
37 "cmp: EOF on input2 after byte 5\n" "ab\nc\nx" ""
38 testcmd "-l diff and EOF, stdout and stderr" "-l input input2 2>&1 | sort" \
39 "4 170 143\ncmp: EOF on input2 after byte 5\n" "ab\nx\nx" ""
43 rm input2