Commit 19c7e1af authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Fix #3112 (bash {{{=~}}} operator doesn't like quotes). close[t:3112]

git-svn-id: file:///svn/toku/tokudb@26365 c7de825b-a66e-492c-adef-691d508d4ae1
parent 7083a45a
#!/usr/bin/env bash
# $Id$
# run a sequence of hotindexer undo tests.
tests=""
......@@ -7,7 +7,7 @@ verbose=0
valgrind=""
for arg in $* ; do
if [[ $arg =~ "--(.*)=(.*)" ]] ; then
if [[ $arg =~ --(.*)=(.*) ]] ; then
eval ${BASH_REMATCH[1]}=${BASH_REMATCH[2]}
else
tests="$tests $arg"
......@@ -19,7 +19,7 @@ for t in $tests ; do
testfile=`basename $t`
testname=""
resultfile=""
if [[ $testfile =~ "(.*)\.test$" ]] ; then
if [[ $testfile =~ (.*)\.test$ ]] ; then
testname=${BASH_REMATCH[1]}
resultfile=$testname.result
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment