summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej enczykowski <maze@google.com>2019-03-24 20:23:41 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-03-24 20:23:41 -0700
commitf2a7312d735562e0f1fc9a35ba4632c8f5465c87 (patch)
treefa642713b99a4ed89117eb83ac46516c7c0e17ce
parentede9fe32214001f515171b74cec8081a2b75154a (diff)
parent495e005433fab16af0983d4a23f6d1ecebe38ab5 (diff)
downloadtests-f2a7312d735562e0f1fc9a35ba4632c8f5465c87.tar.gz
net-test: require rootfs/net_test.sh to be error free am: 2afd2efd83
am: 495e005433 Change-Id: Ibb3ad419ba37a36e342988a6ba75638f3a1eb455
-rwxr-xr-xnet/test/rootfs/net_test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/test/rootfs/net_test.sh b/net/test/rootfs/net_test.sh
index 9c94d06..b4f1f4d 100755
--- a/net/test/rootfs/net_test.sh
+++ b/net/test/rootfs/net_test.sh
@@ -15,6 +15,9 @@
# limitations under the License.
#
+set -e
+set -u
+
mount -t proc none /proc
mount -t sysfs none /sys
mount -t tmpfs tmpfs /tmp