We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aff03a commit 29f6761Copy full SHA for 29f6761
tmt/tests/booted/readonly/025-test-restorecon.nu
@@ -0,0 +1,12 @@
1
+use std assert
2
+use tap.nu
3
+
4
+tap begin "Run restorecon"
5
6
+# Run restorecon and capture trimmed output
7
+let out = (restorecon -vnr /var/ /etc/ /usr/ /boot/ | str trim)
8
9
+# Assert it's empty
10
+assert equal $out "" "restorecon run found incorrect labels: ($out)"
11
12
+tap ok
0 commit comments