[Dctrl-tools-devel] [SCM] Debian control file query tools branch, master, updated. 2.19-7-g788ae16

Antti-Juhani Kaijanaho ajk at debian.org
Sun Nov 13 18:52:26 UTC 2011


The following commit has been merged in the master branch:
commit 788ae16ed216f79250da4e4edbf25739edf7f2f1
Author: Antti-Juhani Kaijanaho <ajk at debian.org>
Date:   Sun Nov 13 19:43:33 2011 +0200

    tester.sh: Do not output .differr if it wasn't constructed.
    
    Signed-off-by: Antti-Juhani Kaijanaho <ajk at debian.org>

diff --git a/debian/changelog b/debian/changelog
index 003c28f..9ea3fdb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 dctrl-tools (2.20) UNRELEASED; urgency=low
 
   * Improve the testsuite.
+  * tester.sh: Do not output .differr if it wasn't constructed.
 
  -- Antti-Juhani Kaijanaho <ajk at debian.org>  Sun, 13 Nov 2011 19:33:00 +0200
 
diff --git a/tester.sh b/tester.sh
index 55d0b6a..1c35d0b 100644
--- a/tester.sh
+++ b/tester.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 #     dctrl-tools - Debian control file inspection tools
-#     Copyright (C) 2007, 2010 Antti-Juhani Kaijanaho
+#     Copyright (C) 2007, 2010, 2011 Antti-Juhani Kaijanaho
 #
 #     This program is free software; you can redistribute it and/or modify
 #     it under the terms of the GNU General Public License as published by
@@ -82,8 +82,10 @@ for tst in $tests ; do
         echo "FAILED."
         echo "stdout diff:"
         cat .diffout
-        echo "stderr diff:"
-        cat .differr
+        if [ -r $tst_ero ] ; then
+            echo "stderr diff:"
+            cat .differr
+        fi
         rv=1
     fi
 done

-- 
Debian control file query tools



More information about the Dctrl-tools-devel mailing list