aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/073.sh6
-rw-r--r--tests/074.sh6
2 files changed, 8 insertions, 4 deletions
diff --git a/tests/073.sh b/tests/073.sh
index 8dc165e..3bc42af 100644
--- a/tests/073.sh
+++ b/tests/073.sh
@@ -2,6 +2,8 @@ set -e
cat <<'EOF' > expected
main.c
+main.c
+main.c
EOF
cat <<'EOF' > header.h
@@ -14,7 +16,7 @@ bash ../../test_diff.sh <<'EOF'
int printf();
int main() {
printf("%s\n", __FILE__);
- // printf("%s\n", B);
- // printf("%s\n", A);
+ printf("%s\n", B);
+ printf("%s\n", A);
}
EOF
diff --git a/tests/074.sh b/tests/074.sh
index 90b86c6..a4d42ea 100644
--- a/tests/074.sh
+++ b/tests/074.sh
@@ -2,6 +2,8 @@ set -e
cat <<'EOF' > expected
5
+6 6
+7 7
EOF
cat <<'EOF' > header.h
@@ -14,7 +16,7 @@ bash ../../test_diff.sh <<'EOF'
int printf();
int main() {
printf("%d\n", __LINE__);
- // printf("%d\n", B);
- // printf("%d\n", A);
+ printf("%d %d\n", B, B);
+ printf("%d %d\n", A, A);
}
EOF