summaryrefslogtreecommitdiff
path: root/testsuite/sexp-conv-test
Commit message (Collapse)AuthorAgeFilesLines
* * testsuite/sexp-conv-test: Use $EMULATOR when running testMartin Storsjö2011-11-241-4/+4
| | | | | | | | | | | programs. Also ignore \r for output in the non-canonical output formats. * testsuite/Makefile.in (check): Pass $(EMULATOR) in the environment of run-tests. Rev: nettle/testsuite/Makefile.in:1.15 Rev: nettle/testsuite/sexp-conv-test:1.4
* * testsuite/sexp-conv-test: Updated testcases for improvedNiels Möller2009-02-101-2/+0
| | | | | | | | | | | | | | | | | | | | | | handling of comments. * tools/sexp-conv.c (sexp_convert_item): Use sexp_put_soft_newline to terminate comments, and modify indentation for the case that a list starts with a comment. * tools/output.c (sexp_output_init): Initialize soft_newline. (sexp_put_raw_char): Clear soft_newline. (sexp_put_newline): Check and reset soft_newline. (sexp_put_soft_newline): New function. * tools/output.h (struct sexp_output): Removed union with single element, and updated all users. New attribute soft_newline. Rev: nettle/ChangeLog:1.31 Rev: nettle/testsuite/sexp-conv-test:1.3 Rev: nettle/tools/output.c:1.3 Rev: nettle/tools/output.h:1.3 Rev: nettle/tools/sexp-conv.c:1.4
* (print_raw, print_nl): Use printf.Niels Möller2008-08-271-19/+9
| | | | | | Updated testcases with comments; comments are now preserved. Rev: nettle/testsuite/sexp-conv-test:1.2
* (print_raw, print_nl): New functions.Niels Möller2003-02-061-10/+24
| | | | | | | | The testfunctions use these instead of using echo directly. Use the test input '3:"\x' instead of '2:"\', to be friendlier to sysv echo. Rev: src/nettle/testsuite/sexp-conv-test:1.6
* More tests for hex and base64 inputNiels Möller2003-01-301-0/+6
| | | | | | and output. Rev: src/nettle/testsuite/sexp-conv-test:1.5
* New tests for hex and base64 literalNiels Möller2003-01-011-0/+21
| | | | | | output. Rev: src/nettle/testsuite/sexp-conv-test:1.4
* Use input files without any trailingNiels Möller2002-11-101-3/+3
| | | | | | newline character, in order to stress the end of file handling. Rev: src/nettle/testsuite/sexp-conv-test:1.3
* Moved test from examples directory.Niels Möller2002-11-071-3/+3
| | | | | | Updated path to sexp-conv, now in ../tools/sexp-conv. Rev: src/nettle/testsuite/sexp-conv-test:1.2
* Moved test from examples directory.Niels Möller2002-11-071-0/+95
Rev: src/nettle/testsuite/sexp-conv-test:1.1