From ab31bf13a2c946211c057bc285e2bec030b210a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Sun, 10 Nov 2002 17:30:35 +0100
Subject: [PATCH] Use input files without any trailing newline character, in
 order to stress the end of file handling.

Rev: src/nettle/testsuite/sexp-conv-test:1.3
---
 testsuite/sexp-conv-test | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/testsuite/sexp-conv-test b/testsuite/sexp-conv-test
index f51547d9..625e8784 100755
--- a/testsuite/sexp-conv-test
+++ b/testsuite/sexp-conv-test
@@ -16,7 +16,7 @@ else
 fi
 
 test_advanced () {
-    echo "$1" > test.in
+    echo $n "$1$c" > test.in
     if ../tools/sexp-conv -s advanced <test.in >test1.out ; then
 	true
     else
@@ -32,7 +32,7 @@ test_advanced () {
 }
 
 test_transport () {
-    echo "$1" > test.in
+    echo $n "$1$c" > test.in
     if ../tools/sexp-conv -s transport <test.in >test1.out ; then
 	true
     else
@@ -48,7 +48,7 @@ test_transport () {
 }
 
 test_canonical () {
-    echo "$1" > test.in
+    echo $n "$1$c" > test.in
     if ../tools/sexp-conv -s canonical <test.in >test1.out ; then
 	true
     else
-- 
GitLab