[med-svn] r18100 - in trunk/packages/wise/trunk/debian: . tests

Charles Plessy plessy at moszumanska.debian.org
Tue Sep 23 11:00:36 UTC 2014


Author: plessy
Date: 2014-09-23 11:00:35 +0000 (Tue, 23 Sep 2014)
New Revision: 18100

Modified:
   trunk/packages/wise/trunk/debian/changelog
   trunk/packages/wise/trunk/debian/tests/run-unit-test
Log:
Skip the first line of testman.pl (missing a proper shebang).



Modified: trunk/packages/wise/trunk/debian/changelog
===================================================================
--- trunk/packages/wise/trunk/debian/changelog	2014-09-23 10:53:14 UTC (rev 18099)
+++ trunk/packages/wise/trunk/debian/changelog	2014-09-23 11:00:35 UTC (rev 18100)
@@ -2,6 +2,8 @@
 
   * debian/tests/control: explicitely depend on wise.  This avoids that
     ‘sadt’ skips the test when wise-doc is not installed. 
+  * debian/tests/run-unit-test: skip the first line of testman.pl, that
+    misses a proper shebang and trigger a failure. 
 
  -- Charles Plessy <plessy at debian.org>  Tue, 23 Sep 2014 19:51:52 +0900
 

Modified: trunk/packages/wise/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/wise/trunk/debian/tests/run-unit-test	2014-09-23 10:53:14 UTC (rev 18099)
+++ trunk/packages/wise/trunk/debian/tests/run-unit-test	2014-09-23 11:00:35 UTC (rev 18100)
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
 
 pkg=wise
 if [ "$ADTTMP" = "" ] ; then
@@ -7,5 +7,5 @@
 cd $ADTTMP
 cp /usr/share/doc/wise-data/examples/* $ADTTMP
 gunzip *.gz
-perl testman.pl < short.test
+perl <(sed 1d testman.pl) < short.test
 # rm -f $ADTTMP/*




More information about the debian-med-commit mailing list