+2012-10-04 Tim Retout <diocles@gnu.org>
+
+ * src/tests/passthrough.test: Use sed instead of tail.
+
2012-09-27 Jerome Roovers <jer@gentoo.org>
* src/tests/passthrough.test: Remove obsolete "+2" arguments to
### test_pass_through() {
$enscript -G2r --quiet --pass-through -p- test_input.ps \
- | tail -n +2 >$output
+ | sed '1d' >$output
-result=`tail -n +2 test_input.ps | cmp - $output`
+result=`sed '1d' test_input.ps | cmp - $output`
if test "X$result" != "X"; then
exit 1
### test_pass_through() {
$enscript -G2r --quiet --pass-through -p- test_input.ps \
- | tail -n +2 >$output
+ | sed '1d' >$output
-result=`tail -n +2 test_input.ps | cmp - $output`
+result=`sed '1d' test_input.ps | cmp - $output`
if test "X$result" != "X"; then
exit 1
### test_pass_through() {
$enscript -G2r --quiet --pass-through -p- test_input.pcl \
- | tail -n +2 >$output
+ | sed '1d' >$output
-result=`tail -n +2 test_input.pcl | cmp - $output`
+result=`sed '1d' test_input.pcl | cmp - $output`
if test "X$result" != "X"; then
exit 1
### test_pass_through() {
$enscript -G2r --quiet --pass-through -p- test_input.pcl \
- | tail -n +2 >$output
+ | sed '1d' >$output
-result=`tail -n +2 test_input.pcl | cmp - $output`
+result=`sed '1d' test_input.pcl | cmp - $output`
if test "X$result" != "X"; then
exit 1