components/indent/patches/system-test.patch
author John Beck <John.Beck@Oracle.COM>
Wed, 18 Nov 2015 12:45:08 -0800
changeset 5106 7da49475ad49
parent 4737 844cca6e99f3
permissions -rw-r--r--
22227841 SUNWpyyaml26 needs to be obsoleted

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