#!./perl -w
BEGIN {
chdir 't' if -d 't';
}
TEST 1 u
x
END
x
END
TEST 2 e
x
END
x
END
TEST 3 e
x
y
z
END
x
y
z
END
TEST 4 u
x
y
z
END
x
y
z
END
TEST 5 u
This Is a test of a line with many embedded tabs
END
This Is a test of a line with many embedded tabs
END
TEST 6 e
This Is a test of a line with many embedded tabs
END
This Is a test of a line with many embedded tabs
END
TEST 7 u
x
END
x
END
TEST 8 e
END
END
TEST 9 u
END
END
TEST 10 u
END
END
TEST 11 u
foobar IN A 140.174.82.12
END
foobar IN A 140.174.82.12
END
DONE
$| = 1;
$testcount .= @tests/2;
$tn = 1;
$f = \&expand;
} else {
$f = \&unexpand;
}
}
print "------------ input ------------\n";
print $in;
print $back;
print "\$\n------------ expected ---------\n";
print $out;
print "\$\n-------------------------------\n";
exit(1);
} else {
}
$tn++;
}