Thread (1 message) 1 message, 1 author, 2016-06-15

Re: 3 failures on test t9100 (svn)

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:23

Jeff King [off-list ref] writes:
On Wed, Mar 03, 2010 at 01:58:04AM +0100, Nicolas Sebrecht wrote:
quoted
quoted
  GIT_TEST_CMP='diff -u'
  test_cmp() {
    $GIT_TEST_CMP "$@"
  }

which _should_ split the "diff -u" on whitespace.
I've tried with these exact lines without more success.
That's weird. Can you test this in each of your shells:

  foo() {
    echo "in foo, arg=$1"
  }
  VARIABLE='foo bar'
  $VARIABLE

It should print "in foo, arg=bar". If it doesn't, then the shell is
broken.
The only other possibility I can think of is if somebody futz with IFS, in
order to e.g. use the "word splitting" logic for "line splitting" (or
"split at colon"), and forgets to restore the original value.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help