Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
a1fcccd8
Commit
a1fcccd8
authored
Mar 15, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #23016 from timstclair/test-isolation
Auto commit by PR queue bot
parents
5044c769
a93b67fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
verify-symbols.sh
hack/after-build/verify-symbols.sh
+9
-3
No files found.
hack/after-build/verify-symbols.sh
View file @
a1fcccd8
...
@@ -24,11 +24,17 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
...
@@ -24,11 +24,17 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
kube::golang::setup_env
kube::golang::setup_env
# add other BADSYMBOLS here.
# add other BADSYMBOLS here.
BADSYMBOLS
=
"testing[.]"
BADSYMBOLS
=(
"httptest"
"testify"
"testing[.]"
)
# Join symbols with OR '\|' pattern
PATTERN
=
"
$(
printf
'\|%s'
"
${
BADSYMBOLS
[@]
}
"
|
tail
-c
+3
)
"
# b/c hyperkube binds everything simply check that for bad symbols
# b/c hyperkube binds everything simply check that for bad symbols
if
[[
$(
nm
${
KUBE_OUTPUT_HOSTBIN
}
/hyperkube |
grep
"
${
BADSYMBOLS
}
"
)
]]
;
then
if
nm
${
KUBE_OUTPUT_HOSTBIN
}
/hyperkube |
grep
"
${
PATTERN
}
"
;
then
echo
"output binaries contain bad symbols
\"
${
BADSYMBOLS
}
\"
"
echo
"output binaries contain bad symbols"
exit
1
exit
1
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment