Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Unified Diff: src/scripts/build_tests.sh

Issue 518004: Make more build scripts barf when run as root. (Closed)
Patch Set: Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/scripts/build_platform_packages.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/build_tests.sh
diff --git a/src/scripts/build_tests.sh b/src/scripts/build_tests.sh
index f4da0a283175f4125cd7cd348a4f761a9a717b37..a057b60e673060a3c96fb370a1bf92004a9574f2 100755
--- a/src/scripts/build_tests.sh
+++ b/src/scripts/build_tests.sh
@@ -8,6 +8,9 @@
# The path to common.sh should be relative to your script's location.
. "$(dirname "$0")/common.sh"
+assert_inside_chroot
+assert_not_root_user
+
# Flags
# Parse command line
« no previous file with comments | « src/scripts/build_platform_packages.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698