Skip to content
Snippets Groups Projects
Commit e264bd2b authored by Niels Möller's avatar Niels Möller
Browse files

Doesn't need echo -n anymore.

Rev: src/nettle/examples/sexp-conv-test:1.3
parent 4da2bc6a
No related branches found
No related tags found
No related merge requests found
...@@ -6,13 +6,13 @@ fi ...@@ -6,13 +6,13 @@ fi
test_conv () { test_conv () {
# FIXME: echo -n not portable # FIXME: echo -n not portable
echo -n "$1" > test.in echo "$1" > test.in
if ./sexp-conv <test.in >test1.out ; then if ./sexp-conv <test.in >test1.out ; then
true true
else else
exit 1 exit 1
fi fi
echo -n "$2" > test2.out echo "$2" > test2.out
if cmp test1.out test2.out ; then if cmp test1.out test2.out ; then
true true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment