File tree 1 file changed +9
-8
lines changed
1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -384,20 +384,21 @@ EOF
384
384
385
385
mount --type tmpfs -o " context=\" $LABEL \" " tmpfs $tmpdir
386
386
387
- run ls -dZ ${tmpdir}
388
- is " $output " " ${LABEL} ${tmpdir} " " No Relabel Correctly"
387
+ run getfattr --only-values --absolute-names -n security.selinux ${tmpdir}
388
+ is " $output " " ${LABEL} " " No Relabel Correctly"
389
+
389
390
run_podman run --rm -v $tmpdir :/test:z --privileged $IMAGE true
390
- run ls -dZ $ tmpdir
391
- is " $output " " ${LABEL} $tmpdir " " Ignored shared relabel Correctly"
391
+ run getfattr --only-values --absolute-names -n security.selinux ${ tmpdir}
392
+ is " $output " " ${LABEL} " " Ignored shared relabel Correctly"
392
393
393
394
run_podman run --rm -v $tmpdir :/test:Z --privileged $IMAGE true
394
- run ls -dZ $ tmpdir
395
- is " $output " " ${LABEL} $tmpdir " " Ignored private relabel Correctly" }
395
+ run getfattr --only-values --absolute-names -n security.selinux ${ tmpdir}
396
+ is " $output " " ${LABEL} " " Ignored private relabel Correctly"
396
397
umount $tmpdir
397
398
398
399
run_podman run --rm -v $tmpdir :/test:z --privileged $IMAGE true
399
- run ls -dZ $ tmpdir
400
- is " $output " " ${RELABEL} $tmpdir " " Ignored private relabel Correctly" }
400
+ run getfattr --only-values --absolute-names -n security.selinux ${ tmpdir}
401
+ is " $output " " ${RELABEL} " " Ignored private relabel Correctly"
401
402
}
402
403
403
404
# vim: filetype=sh
You can’t perform that action at this time.
0 commit comments