summaryrefslogtreecommitdiff
path: root/dtc-lexer.l
diff options
context:
space:
mode:
author Stephen Warren <swarren@wwwdotorg.org> 2012-03-20 20:23:46 -0600
committer Jon Loeliger <jdl@jdl.com> 2012-03-31 09:00:29 -0500
commiteaec1dbc5946d5fd01a9ef7120f8461c74d759a0 (patch)
treebdc123e4b25974ab8905e96fab416888a540b90e /dtc-lexer.l
parentde6b76240e91b9288cdce63ab81e51a7232d0927 (diff)
fdtget-runtest.sh: Fix failures when /bin/sh isn't bash
On Ubuntu, /bin/sh is dash (at least by default), and dash's echo doesn't accept the -e option. This means that fdtget-runtest.sh's EXPECT file will contain "-e foo" rather than just "foo", which causes a test failure. To work around this, run /bin/echo instead of (builtin) echo, which has more chance of supporting the -e option. Another possible fix is to change all the #! lines to /bin/bash rather than /bin/sh, and change run_tests.sh to invoke sub-scripts using $SHELL instead of just "sh". However, that would require bash specifically, which may not be desirable. Signed-off-by: Stephen Warren <swarren@wwwdotorg.org> Acked-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc-lexer.l')
0 files changed, 0 insertions, 0 deletions