Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .papr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,22 @@ artifacts:
- test-suite.log
---

context: c7-build
context: c7-primary
inherit: true
required: true

container:
image: registry.centos.org/centos/centos:7
packages:

host:
distro: centos/7/atomic

env:
CFLAGS: ''

tests:
- ci/build-check.sh
- docker run --privileged -v $PWD:$PWD --workdir $PWD
registry.centos.org/centos/centos:7 sh -c
'yum install -y git && ci/build-check.sh'

---

Expand Down
2 changes: 2 additions & 0 deletions tests/test-switchroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ if [ "${BASH_SOURCE[0]}" = "${0}" ]; then
. $(dirname $0)/libtest.sh
unshare -m true || \
skip "this test needs to set up mount namespaces, rerun as root"
[ -f /bin/busybox ] || \
skip "this test needs busybox"

echo "1..3"
test_that_prepare_root_sets_sysroot_up_correctly_with_initrd
Expand Down