- Remove bash and bison dependencies - Specify the PATH in regression-test target PR: 179529 Submitted by: koobs
11 lines
392 B
Text
11 lines
392 B
Text
--- ./doc/progs/run.orig 2013-06-09 23:20:14.695515753 +1000
|
|
+++ ./doc/progs/run 2013-06-09 23:20:14.695515753 +1000
|
|
@@ -87,7 +87,7 @@
|
|
# Write to temporary file to avoid mingw bash bug.
|
|
TMPFILE="${TMPDIR:-/tmp}/gotest3.$USER"
|
|
|
|
-function testit {
|
|
+testit () {
|
|
./$1 >"$TMPFILE" 2>&1 || true
|
|
x=$(echo $(cat "$TMPFILE")) # extra echo canonicalizes
|
|
if ! echo "$x" | grep "$2" > /dev/null
|