aboutsummaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
authorBernie Ogden <bernie.ogden@linaro.org>2014-08-05 15:54:23 -0600
committerRob Savoye <rob.savoye@linaro.org>2014-08-05 15:54:23 -0600
commit0ba64c65ddaca291dbc611447b5f9073b7d2b7e4 (patch)
tree8e2e5ec616bcd504bc3e89b97a21f90a3c4cdbd2 /test.sh
parent573d533909b87a1fdef679ac51dcbf3d4e1e339f (diff)
restore host.conf
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/test.sh b/test.sh
index bd40d1e5..74dd2990 100755
--- a/test.sh
+++ b/test.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
testcbuild2="`basename $0`"
topdir=`dirname $0`
@@ -454,7 +454,6 @@ match='Make Documentation no'
test_pass "${cb_commands}" "${match}"
# Change the configured default to 'no'
-cp ${indir}/host.conf ${indir}/host.conf.orig
cat ${indir}/host.conf | sed -e 's/make_docs=.*/make_docs=no/' > ${indir}/host.conf.make_doc.no
cp ${indir}/host.conf.make_doc.no ${indir}/host.conf
rm ${indir}/host.conf.make_doc.no
@@ -486,11 +485,6 @@ cb_commands="--dryrun --force --target arm-none-linux-gnueabihf --enable make_do
match='Making docs in'
test_pass "${cb_commands}" "${match}"
-# Verify the default is restored.
-cb_commands="--dump"
-match='Make Documentation yes'
-test_pass "${cb_commands}" "${match}"
-
# The default.
cb_commands="--dump"
match='Bootstrap no'