test-lint: detect 'export FOO=bar'
commit9968ffff0d09b4925f339cceafb5f7e7cd78fb02
authorThomas Rast <trast@inf.ethz.ch>
Mon, 8 Jul 2013 15:20:32 +0000 (8 17:20 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Jul 2013 17:21:33 +0000 (8 10:21 -0700)
tree8cb307b3b2136553430153e5706788105868f11b
parent38678a15a2bf65580573a46e967c1d8d269965ae
test-lint: detect 'export FOO=bar'

Some shells do not understand the one-line construct, and instead need

  FOO=bar &&
  export FOO

Detect this in the test-lint target.

Signed-off-by: Thomas Rast <trast@inf.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/check-non-portable-shell.pl