components/indent/patches/system-test.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Thu, 08 Oct 2015 23:00:32 -0700
changeset 4929 29020dc0c404
parent 4737 844cca6e99f3
permissions -rw-r--r--
Added tag s12-85 for changeset 264d4a0eb386

Patch to allow us to specify an alternate indent binary when running tests.

This patch should be sent upstream.

--- indent-2.2.9/regression/TEST.orig	2015-08-03 07:55:36.236058899 -0700
+++ indent-2.2.9/regression/TEST	2015-08-03 07:56:32.264810064 -0700
@@ -3,7 +3,7 @@
 # Compare the output of ../src/indent to correct output
 # generated by earlier versions
 
-INDENT=../src/indent
+INDENT="${INDENT_BIN:-../src/indent}"
 
 # First, make sure the executable exists