[admesh] 01/04: Fix autopkgtests. (Closes: #876411)

Anton Gladky gladk at moszumanska.debian.org
Sat Nov 25 13:17:01 UTC 2017


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository admesh.

commit deb03ba8a6204ba5e274743f5e70651a8f831340
Author: Graham Inggs <ginggs at debian.org>
Date:   Sat Nov 25 14:15:05 2017 +0100

    Fix autopkgtests. (Closes: #876411)
---
 debian/tests/regression | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/tests/regression b/debian/tests/regression
index eb17ad1..896dfde 100755
--- a/debian/tests/regression
+++ b/debian/tests/regression
@@ -98,7 +98,6 @@ ENDSOLID  Untitled1
 EOF
 
 cat <<EOF > regression_test_output_etalon
-ADMesh version 0.98.2, Copyright (C) 1995, 1996 Anthony D. Martin
 ADMesh comes with NO WARRANTY.  This is free software, and you are welcome to
 redistribute it under certain conditions.  See the file COPYING for details.
 Opening block.stl
@@ -111,7 +110,6 @@ Checking normal values...
 Calculating volume...
 Verifying neighbors...
 
-================= Results produced by ADMesh version 0.98.2 ================
 Input file         : block.stl
 File type          : ASCII STL file
 Header             : SOLID  Untitled1
@@ -137,6 +135,8 @@ Normals fixed         :     0
 EOF
 
 admesh block.stl > regression_test_output_current
+# delete lines containing the ADMesh version
+sed -i '/version/d' regression_test_output_current
 DIFFRESULT=`diff regression_test_output_current regression_test_output_etalon`
 if [ "$DIFFRESULT" != "" ]; then
   rm regression_test_output_current

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/admesh.git



More information about the debian-science-commits mailing list