components/conflict/patches/system-test.patch
author Rich Burridge <rich.burridge@oracle.com>
Fri, 07 Aug 2015 14:59:43 -0700
changeset 4747 0e43ac303e45
permissions -rw-r--r--
21571218 Even more Userland components should have their system-test targets hooked up

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

This patch should be sent upstream.

--- conflict-20140723/run_test.sh.orig	2015-08-04 07:48:20.892345554 -0700
+++ conflict-20140723/run_test.sh	2015-08-04 07:49:21.230009358 -0700
@@ -2,7 +2,7 @@
 # $Id: run_test.sh,v 6.3 2004/06/20 23:13:23 tom Exp $
 # Run a test to show that CONFLICT is working
 BIN=`pwd`
-PROG=$BIN/conflict
+PROG="${CONFLICT_BIN:-$BIN/conflict}"
 PATH=".:$BIN:/bin"; export PATH
 #
 cat <<eof/