Description: Work around i386 testsuite error Author: Andreas Metzler Origin: vendor Bug: http://lists.gnu.org/archive/html/bug-plotutils/2017-02/msg00001.html Bug-Debian: https://bugs.debian.org/856134 Forwarded: http://lists.gnu.org/archive/html/bug-plotutils/2017-02/msg00002.html Last-Update: 2017-02-25 --- a/test/spline.test +++ b/test/spline.test @@ -3,12 +3,21 @@ echo 0 1 0.5 0.75 -0.25 0 | ../spline/spline -a -T 1 -n 120 \ --precision 5 -p >spline.out +# Work around testsuite error +# http://lists.gnu.org/archive/html/bug-plotutils/2016-04/msg00000.html +# # work around line end problems in installations with DJGPP under DOS -tr -d '\015' < spline.out > spline.dos +tr -d '\015' < spline.out \ + | head -n 120 | tail -n 119 \ + > spline.dos -if cmp -s $SRCDIR/spline.xout spline.dos +# cannot patch spline.xout, it is used as input for graph.test. +head -n 120 $SRCDIR/spline.xout | tail -n 119 > spline.xout.4comp + +if cmp -s spline.xout.4comp spline.dos then retval=0; else retval=1; fi; +rm -f spline.xout.4comp exit $retval href='/guix/refs/?id=db4ef36acc4aa03094bfce7b491613b64f3e4fa5'>refslogtreecommitdiff
path: root/tests/guix-graph.sh
AgeCommit message (Expand)Author
2023-09-26tests: Adjust ‘guix graph --path’ test to latest Emacs changes....This is a followup to 3349a50d700a2112a31ac4ce6cc6639d3b4cf1e2. * tests/guix-graph.sh: Adjust ‘path’. Ludovic Courtès
2023-04-28tests: guix-graph.sh: Fix expected path from emacs to libffi....* tests/guix-graph.sh: Change the expected path from emacs to libffi. `guix graph --path` outputs only one possible path, and the one it outputs for this case has changed. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Josselin Poiret
2023-04-21tests: Fix checks for expected failures....Addresses <https://issues.guix.gnu.org/62406>. With 'set -e', a return status inverted with '!' does not cause the shell to exit immediately. Instead use '&& false' to indicate an expected failure. * tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment-container.sh, tests/guix-environment.sh, tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh, tests/guix-hash.sh, tests/guix-home.sh, tests/guix-pack-relocatable.sh, tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh, tests/guix-package.sh, tests/guix-refresh.sh, tests/guix-shell.sh, tests/guix-style.sh, tests/guix-system.sh: Replace uses of '! ...' with '... && false' or `test ! ...` as appropriate. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Eric Bavier
2022-01-16tests: Clean up after 'tests/guix-graph.sh'....Fixes a regression introduced in a773c3142dd168e1c4480614d3f5fd9d003954cd, which would lead the first 'trap' to be ignored, thereby leaving 't-guix-graph-*' directories behind it. * tests/guix-graph.sh: Remove first 'trap' line that had no effect; replace second 'trap' line. Ludovic Courtès