Skip to content

Commit 2c9bb82

Browse files
committed
[DO NOT MERGE] Temporary hack to run attribute assignment test
Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
1 parent e1d43f6 commit 2c9bb82

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.github/workflows/checks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
image: fedora:latest
99
steps:
1010
- run: sudo dnf install -y astyle perltidy findutils git-core
11+
- run: sudo dnf copr enable -y vmojzis/userspace_test
12+
- run: sudo dnf update -y checkpolicy
1113
- uses: actions/checkout@v4
1214
- run: sudo chown $(id -u):$(id -g) .
1315
- run: tools/check-syntax -f && git diff --exit-code

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ all:
44
@set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i all ; done
55

66
test:
7+
dnf copr enable -y vmojzis/userspace_test
8+
dnf update -y checkpolicy
79
make -C policy load
810
make -C tests test
911
make -C policy unload

tmt/tests.fmf

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@
2424
exit 1
2525
;;
2626
esac
27-
27+
dnf copr enable -y vmojzis/userspace_test
28+
dnf install -y checkpolicy
29+
dnf list --showduplicates checkpolicy
30+
dnf update -y checkpolicy
31+
dnf install -y https://download.copr.fedorainfracloud.org/results/vmojzis/userspace_test/fedora-41-x86_64/09200106-checkpolicy/checkpolicy-3.7-2.1.fc41.x86_64.rpm
32+
rpm -qa checkpolicy
2833
case "$STS_KERNEL" in
2934
default|'')
3035
dnf install -y kernel-modules-$(uname -r) kernel-devel-$(uname -r)

0 commit comments

Comments
 (0)