Patchwork contrib/compare_tests

login
register
mail settings
Submitter Mike Stump
Date Feb. 11, 2012, 2:17 p.m.
Message ID <AF7CD6FD-8A8B-457B-8F31-CCA5BA3331F7@comcast.net>
Download mbox | patch
Permalink /patch/140786/
State New
Headers show

Comments

Mike Stump - Feb. 11, 2012, 2:17 p.m.

Patch

Index: compare_tests
===================================================================
--- compare_tests	(revision 184129)
+++ compare_tests	(working copy)
@@ -83,11 +83,14 @@  if [ -d "$1" -a -d "$2" ] ; then
 		exit $exit_status
 	fi
 	cmnsums=`cat $lst5 | wc -l`
+	sum1="/tmp/$tool-sum-1"
+	sum2="/tmp/$tool-sum-2"
 	echo "# Comparing $cmnsums common sum files"
 	( for fname in `cat $lst5`; do cat $1/$fname; done ) >$sum1
 	( for fname in `cat $lst5`; do cat $2/$fname; done ) >$sum2
 	echo "## ${CONFIG_SHELL-/bin/sh} $0 $strict $sum1 $sum2"
 	${CONFIG_SHELL-/bin/sh} $0 $strict $sum1 $sum2
+	rm -f $sum1 $sum2
 	ret=$?
 	if [ $ret -ne 0 ]; then
 		exit_status=`expr $exit_status + 1`
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 184129)
+++ ChangeLog	(working copy)
@@ -1,3 +1,7 @@ 
+2012-02-11  Mike Stump  <mikestump@comcast.net>
+
+	* compare_tests (exit_status): Fix.
+
 2012-02-10   Diego Novillo  <dnovillo@google.com>
 
 	* repro_fail: Add --debug and --debug-tui flags.