David Hendricks has uploaded a new change for review. ( https://review.coreboot.org/19406 )
Change subject: test_v2.sh: Copy layout to local tempdir in local-layout mode ......................................................................
test_v2.sh: Copy layout to local tempdir in local-layout mode
The layout file wasn't being copied to the local tempdir when using layout as the region mode and doing the test entirely locally.
BUG=none BRANCH=none TEST=ran test in layout mode locally
Change-Id: Ia2328d367ee3df5ac1c481c16e4502a81d69fd98 Signed-off-by: David Hendricks dhendrix@chromium.org --- M tests/tests_v2/test_v2.sh 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/06/19406/1
diff --git a/tests/tests_v2/test_v2.sh b/tests/tests_v2/test_v2.sh index 4c15c36..766f9ab 100755 --- a/tests/tests_v2/test_v2.sh +++ b/tests/tests_v2/test_v2.sh @@ -386,6 +386,8 @@
if [ $DO_REMOTE -eq 1 ]; then scp root@"${REMOTE_HOST}:$LAYOUT_FILE" "${LOCAL_TMPDIR}/" 2>&1 >/dev/null + else + cp "$LAYOUT_FILE" "${LOCAL_TMPDIR}/" fi fi elif [ $TEST_TYPE -eq $TEST_TYPE_WRITEPROTECT ]; then