Lines Matching +full:a +full:- +full:za +full:- +full:z
4 if [ ! -x $diff_prog ]; then
9 # Larry's patch has a bug with empty files in combination with -R...
10 if command -v gpatch >/dev/null 2>&1; then
18 rm -f errors
27 if echo -- $diff_opts | grep -q -- 'w'; then
33 if echo -- $diff_opts | grep -q -- 'e'; then
42 if [ -e "$expected_diff" ]; then
45 echo "FAIL: $got_diff != $expected_diff" | tee -a errors
49 if [ -z "$ignore_whitespace" -a -z "$is_edscript" -a "x$diff_type" = "xunidiff" ]; then
51 $patch_prog --quiet -u "$verify_right" "$the_diff"
53 echo "FAIL: $orig_right != $verify_right" | tee -a errors
58 $patch_prog --quiet -u -R "$verify_left" "$the_diff"
60 echo "FAIL: $orig_left != $verify_left" | tee -a errors
63 elif [ -z "$ignore_whitespace" -a -z "$is_edscript" ]; then
64 tail -n +3 "$the_diff" | grep -v "^+" | sed 's/^.//' > "$verify_left"
65 tail -n +3 "$the_diff" | grep -v "^-" | sed 's/^.//' > "$verify_right"
68 echo "FAIL: $orig_left != $verify_left" | tee -a errors
72 echo "FAIL: $orig_right != $verify_right" | tee -a errors
82 diff_opts="$(echo "$left" | sed 's/test[0-9]*\.left\([-a-zA-Z0-9]*\).txt/\1/')"
83 expected_diff="$(echo "$left" | sed 's/test\([-0-9a-zA-Z]*\)\..*/expect\1.diff/')"
92 if make -h 2>/dev/null | grep -q no-print-directory; then
93 make_opts="--no-print-directory"
99 make $make_opts -s -C "$prog" regress > "$prog_output"
101 echo "FAIL: $prog_output != $expect_output" | tee -a errors
108 if [ -f errors ]; then