-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mv contrib/cmd tests/cmd (except memfd-bind) #4377
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -13,12 +13,12 @@ eval "$IMAGES" | |||||||||||||||||||||||||
unset IMAGES | ||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
: "${RUNC:="${INTEGRATION_ROOT}/../../runc"}" | ||||||||||||||||||||||||||
RECVTTY="${INTEGRATION_ROOT}/../../contrib/cmd/recvtty/recvtty" | ||||||||||||||||||||||||||
SD_HELPER="${INTEGRATION_ROOT}/../../contrib/cmd/sd-helper/sd-helper" | ||||||||||||||||||||||||||
SECCOMP_AGENT="${INTEGRATION_ROOT}/../../contrib/cmd/seccompagent/seccompagent" | ||||||||||||||||||||||||||
FS_IDMAP="${INTEGRATION_ROOT}/../../contrib/cmd/fs-idmap/fs-idmap" | ||||||||||||||||||||||||||
PIDFD_KILL="${INTEGRATION_ROOT}/../../contrib/cmd/pidfd-kill/pidfd-kill" | ||||||||||||||||||||||||||
REMAP_ROOTFS="${INTEGRATION_ROOT}/../../contrib/cmd/remap-rootfs/remap-rootfs" | ||||||||||||||||||||||||||
RECVTTY="${INTEGRATION_ROOT}/../../tests/cmd/recvtty/recvtty" | ||||||||||||||||||||||||||
SD_HELPER="${INTEGRATION_ROOT}/../../tests/cmd/sd-helper/sd-helper" | ||||||||||||||||||||||||||
SECCOMP_AGENT="${INTEGRATION_ROOT}/../../tests/cmd/seccompagent/seccompagent" | ||||||||||||||||||||||||||
FS_IDMAP="${INTEGRATION_ROOT}/../../tests/cmd/fs-idmap/fs-idmap" | ||||||||||||||||||||||||||
PIDFD_KILL="${INTEGRATION_ROOT}/../../tests/cmd/pidfd-kill/pidfd-kill" | ||||||||||||||||||||||||||
REMAP_ROOTFS="${INTEGRATION_ROOT}/../../tests/cmd/remap-rootfs/remap-rootfs" | ||||||||||||||||||||||||||
Comment on lines
+16
to
+21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IOW
Suggested change
(not tested) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can be another PR? |
||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
# Some variables may not always be set. Set those to empty value, | ||||||||||||||||||||||||||
# if unset, to avoid "unbound variable" error. | ||||||||||||||||||||||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -214,7 +214,7 @@ function scmp_act_notify_template() { | |||||
@test "runc run [seccomp] (SCMP_ACT_NOTIFY example config)" { | ||||||
# Run the script used in the seccomp agent example. | ||||||
# This takes a bare config.json and modifies it to run an example. | ||||||
"${INTEGRATION_ROOT}/../../contrib/cmd/seccompagent/gen-seccomp-example-cfg.sh" | ||||||
"${INTEGRATION_ROOT}/../../tests/cmd/seccompagent/gen-seccomp-example-cfg.sh" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
# The listenerPath the previous command uses is the default used by the | ||||||
# seccomp agent. However, inside bats the socket is in a bats tmp dir. | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: all these should now be like
"${INTEGRATION_ROOT}/../cmd/remap-rootfs/remap-rootfs"