[Genabel-commits] r1631 - pkg/ProbABEL/checks

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Mar 3 22:05:21 CET 2014


Author: lckarssen
Date: 2014-03-03 22:05:20 +0100 (Mon, 03 Mar 2014)
New Revision: 1631

Modified:
   pkg/ProbABEL/checks/run_diff.sh
Log:
Change the diff arguments to a more canonical order  in the run_diff script of the ProbABEL test suite. 
Thanks to Latchezar (Lucho) Dimitrov  <ldimitro at wakehealth.edu> for suggesting this on the mailing list (http://lists.r-forge.r-project.org/pipermail/genabel-devel/2014-March/000990.html).


Modified: pkg/ProbABEL/checks/run_diff.sh
===================================================================
--- pkg/ProbABEL/checks/run_diff.sh	2014-03-02 20:18:28 UTC (rev 1630)
+++ pkg/ProbABEL/checks/run_diff.sh	2014-03-03 21:05:20 UTC (rev 1631)
@@ -20,7 +20,7 @@
 
     blanks="                                                                      "
 
-    if diff "$file1" "$file2" $args; then
+    if diff $args "$file1" "$file2"; then
         echo -e "${name}${blanks:${#name}} OK"
     else
         echo -e "${name}${blanks:${#name}} FAILED"



More information about the Genabel-commits mailing list