aboutsummaryrefslogtreecommitdiff
Description: Work around i386 testsuite error
Author: Andreas Metzler <ametzler@debian.org>
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
/td> 2023-07-16gnu: openssh: Update to 9.3p2....* gnu/packages/ssh.scm (openssh): Update to 9.3p2. Tobias Geerinckx-Rice 2023-07-01gnu: libssh: Update to 0.10.5....* gnu/packages/ssh.scm (libssh): Update to 0.10.5. Signed-off-by: Christopher Baines <mail@cbaines.net> hako 2023-06-17gnu: Use target-hurd?, system-hurd? instead of hurd-target?, hurd-system?....* gnu/packages/hurd.scm (hurd-target?): Remove. (hurd-system?): Move to... * guix/utils.scm (system-hurd?): ...here. * gnu/packages/*: Update all users, removing (gnu packages hurd) include where now unused. Janneke Nieuwenhuizen 2023-04-25Merge remote-tracking branch 'origin/master' into core-updatesAndreas Enge 2023-04-25gnu: python-asyncssh: Update to 2.13.1....Includes fix for python-cryptography>=39 disallowing SHA-1 signatures, which caused the testsuite to fail. * gnu/packages/ssh.scm (python-asyncssh): Update to 2.13.1. Lars-Dominik Braun 2023-04-19gnu: python-typing-extensions: Move to (gnu packages python-build)....* gnu/packages/python-xyz.scm (python-typing-extensions): Move to... * gnu/packages/python-build.scm (python-typing-extensions): ... here. Maxim Cournoyer 2023-04-14Merge branch 'master' into core-updates....Conflicts: gnu/local.mk gnu/packages/build-tools.scm gnu/packages/certs.scm gnu/packages/check.scm gnu/packages/compression.scm gnu/packages/cups.scm gnu/packages/fontutils.scm gnu/packages/gnuzilla.scm gnu/packages/guile.scm gnu/packages/ibus.scm gnu/packages/image-processing.scm gnu/packages/linux.scm gnu/packages/music.scm gnu/packages/nss.scm gnu/packages/pdf.scm gnu/packages/python-xyz.scm gnu/packages/qt.scm gnu/packages/ruby.scm gnu/packages/shells.scm gnu/packages/tex.scm gnu/packages/video.scm gnu/packages/vulkan.scm gnu/packages/web.scm gnu/packages/webkit.scm gnu/packages/wm.scm Maxim Cournoyer