]> tinc-vpn.org Git - tinc/blobdiff - .ci/sanitizers/run.sh
CI: run sanitizers as root
[tinc] / .ci / sanitizers / run.sh
index 3144275a4cb9bfc99a8ffb40a515b7cbb2861903..8bf409f3b8b26e194548f466bfabc0fe56c027ac 100755 (executable)
@@ -33,7 +33,7 @@ export CC='clang-12'
 export CPPFLAGS='-DDEBUG'
 export CFLAGS="-O0 -g -fsanitize=$SANITIZER -fno-omit-frame-pointer -fno-common -fsanitize-blacklist=$dir/ignore.txt $flags"
 
-bash .ci/test/run.sh "$@"
+sudo bash .ci/test/run.sh "$@"
 
 # Check that the sanitizer has not created any log files.
 # If it has, fail the job to notify the developer.