[frobby] 02/04: debian/patches/fix_test.patch: New patch; fix typo in test script by using '=' instead of '==' for string comparison.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Jul 21 17:08:19 UTC 2016


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

dtorrance-guest pushed a commit to branch master
in repository frobby.

commit 61ef2c6f6e3e239cc1ae0bcba6ac7ade24bafad6
Author: Doug Torrance <dtorrance at piedmont.edu>
Date:   Thu Jul 21 12:41:21 2016 -0400

    debian/patches/fix_test.patch: New patch; fix typo in test script
    by using '=' instead of '==' for string comparison.
---
 debian/patches/fix_test.patch | 15 +++++++++++++++
 debian/patches/series         |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/fix_test.patch b/debian/patches/fix_test.patch
new file mode 100644
index 0000000..6473409
--- /dev/null
+++ b/debian/patches/fix_test.patch
@@ -0,0 +1,15 @@
+Description: Fix typo in test script.
+ Use '=' instead of '==' for string comparison.
+Author: Doug Torrance <dtorrance at piedmont.edu>
+Last-Update: 2016-07-21
+
+--- a/test/internal/runtests
++++ b/test/internal/runtests
+@@ -7,6 +7,6 @@
+ fi
+ 
+ $frobby test 2> /dev/null > /dev/null
+-if [ $? == 0 ]; then exit 0; fi
++if [ $? = 0 ]; then exit 0; fi
+ echo "*** Internal test failed, rerunning tests with output ***"
+ $frobby test
diff --git a/debian/patches/series b/debian/patches/series
index 123ac86..d4798f5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ add_unistd.h.patch
 fix_conversion_error.patch
 fix_install.patch
 link_gmp.patch
+fix_test.patch

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



More information about the debian-science-commits mailing list