]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Use input files without any trailing
authorNiels Möller <nisse@lysator.liu.se>
Sun, 10 Nov 2002 16:30:35 +0000 (17:30 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Sun, 10 Nov 2002 16:30:35 +0000 (17:30 +0100)
newline character, in order to stress the end of file handling.

Rev: src/nettle/testsuite/sexp-conv-test:1.3

testsuite/sexp-conv-test

index f51547d9c6173bdbfaed44f621f019cda0458dc6..625e8784a86d853936e2b93cef775f7c85ba698c 100755 (executable)
@@ -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