3131 TEST_STTY_FULL_SUMMARY_FILE : ' gnu-stty-full-result.json'
3232 TEST_SELINUX_FULL_SUMMARY_FILE : ' selinux-gnu-full-result.json'
3333 TEST_SELINUX_ROOT_FULL_SUMMARY_FILE : ' selinux-root-gnu-full-result.json'
34- TEST_SMACK_FULL_SUMMARY_FILE : ' smack -gnu-full-result.json'
34+ TEST_QEMU_FULL_SUMMARY_FILE : ' qemu -gnu-full-result.json'
3535
3636jobs :
3737 native :
@@ -233,15 +233,6 @@ jobs:
233233 lima ls -laZ /etc/selinux
234234 lima sudo sestatus
235235
236- # Ensure we're running in enforcing mode
237- lima sudo setenforce 1
238- lima getenforce
239-
240- # Create test files with SELinux contexts for testing
241- lima sudo mkdir -p /var/test_selinux
242- lima sudo touch /var/test_selinux/test_file
243- lima sudo chcon -t etc_t /var/test_selinux/test_file
244- lima ls -Z /var/test_selinux/test_file # Verify context
245236 - name : Install dependencies in VM
246237 run : |
247238 lima sudo dnf -y update
@@ -267,8 +258,16 @@ jobs:
267258 lima bash -c "cd ~/work/uutils/ && echo 'Found SELinux tests:'; wc -l selinux-tests.txt"
268259 - name : Run GNU SELinux tests
269260 run : |
261+ # Ensure we're running in enforcing mode
270262 lima sudo setenforce 1
271263 lima getenforce
264+
265+ # Create test files with SELinux contexts for testing
266+ lima sudo mkdir -p /var/test_selinux
267+ lima sudo touch /var/test_selinux/test_file
268+ lima sudo chcon -t etc_t /var/test_selinux/test_file
269+ lima ls -Z /var/test_selinux/test_file # Verify context
270+
272271 lima cat /proc/filesystems
273272 lima bash -c "cd ~/work/uutils/ && bash util/run-gnu-test.sh \$(cat selinux-tests.txt)"
274273 - name : Extract testing info from individual logs into JSON
@@ -317,8 +316,8 @@ jobs:
317316 gnu/tests-selinux/*.log
318317 gnu/tests-selinux/*/*.log.gz
319318
320- smack :
321- name : Run GNU tests (SMACK)
319+ qemu :
320+ name : Run GNU tests (SMACK/ROOTFS )
322321 runs-on : ubuntu-24.04
323322 steps :
324323 - name : Checkout code (uutils)
@@ -338,30 +337,30 @@ jobs:
338337 run : |
339338 sudo apt-get update
340339 sudo apt-get install -y qemu-system-x86 zstd cpio
341- - name : Run GNU SMACK tests
340+ - name : Run GNU SMACK/ROOTFS tests
342341 run : |
343342 cd uutils
344- bash util/run-gnu-tests-smack-ci.sh "$GITHUB_WORKSPACE/gnu" "$GITHUB_WORKSPACE/gnu/tests-smack "
343+ bash util/run-gnu-tests-smack-ci.sh "$GITHUB_WORKSPACE/gnu" "$GITHUB_WORKSPACE/gnu/tests-qemu "
345344 - name : Extract testing info into JSON
346345 run : |
347- python3 uutils/util/gnu-json-result.py gnu/tests-smack > ${{ env.TEST_SMACK_FULL_SUMMARY_FILE }}
348- - name : Upload SMACK json results
346+ python3 uutils/util/gnu-json-result.py gnu/tests-qemu > ${{ env.TEST_QEMU_FULL_SUMMARY_FILE }}
347+ - name : Upload SMACK/ROOTFS json results
349348 uses : actions/upload-artifact@v6
350349 with :
351- name : smack -gnu-full-result
352- path : ${{ env.TEST_SMACK_FULL_SUMMARY_FILE }}
353- - name : Compress SMACK test logs
354- run : gzip gnu/tests-smack /*/*.log 2>/dev/null || true
355- - name : Upload SMACK test logs
350+ name : qemu -gnu-full-result
351+ path : ${{ env.TEST_QEMU_FULL_SUMMARY_FILE }}
352+ - name : Compress SMACK/ROOTFS test logs
353+ run : gzip gnu/tests-qemu /*/*.log 2>/dev/null || true
354+ - name : Upload SMACK/ROOTFS test logs
356355 uses : actions/upload-artifact@v6
357356 with :
358- name : smack -test-logs
357+ name : qemu -test-logs
359358 path : |
360- gnu/tests-smack /*.log
361- gnu/tests-smack /*/*.log.gz
359+ gnu/tests-qemu /*.log
360+ gnu/tests-qemu /*/*.log.gz
362361
363362 aggregate :
364- needs : [native, selinux, smack ]
363+ needs : [native, selinux, qemu ]
365364 permissions :
366365 actions : read # for dawidd6/action-download-artifact to query and download artifacts
367366 contents : read # for actions/checkout to fetch code
@@ -426,10 +425,10 @@ jobs:
426425 name : selinux-root-gnu-full-result
427426 path : results
428427 merge-multiple : true
429- - name : Download smack json results
428+ - name : Download SMACK/ROOTFS json results
430429 uses : actions/download-artifact@v7
431430 with :
432- name : smack -gnu-full-result
431+ name : qemu -gnu-full-result
433432 path : results
434433 merge-multiple : true
435434 - name : Extract/summarize testing info
0 commit comments