Skip to content
Snippets Groups Projects

Backport Bind mount malicious library to test unauthorized access

7 files
+ 29
19
Compare changes
  • Side-by-side
  • Inline
Files
7
+ 10
1
@@ -8,7 +8,16 @@ usage () {
}
branch="$(git symbolic-ref --short HEAD)"
test -z "$branch" && branch="master"
case "$branch" in
apertis/*)
;;
*)
# take the default remote branch if we're not on a apertis/* branch
branch=$(git ls-remote --symref git@gitlab.apertis.org:tests/common.git HEAD \
| grep ^ref: \
| sed 's,ref: refs/heads/\(.*\)\s\+HEAD,\1,')
;;
esac
case $1 in
pull)
Loading