1 2 3 4 5 6 7 8 9 10 11 12
set -e cat <<'EOF' > expected hello, world EOF bash ../../test_diff.sh <<'EOF' int printf(); int main() { printf("hello, world\n"); return 0; } EOF