Skip to content

Commit 5d98ec2

Browse files
authored
build-gnu.sh: Force build SELINUX_PROGS for tests
1 parent d5d0e62 commit 5d98ec2

3 files changed

Lines changed: 2 additions & 9 deletions

File tree

util/build-gnu.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ cd -
136136

137137
# Pass the feature flags to make, which will pass them to cargo
138138
"${MAKE}" PROFILE="${UU_MAKE_PROFILE}" CARGOFLAGS="${CARGO_FEATURE_FLAGS}"
139+
# Foece-add SELINUX_PROGS for tests
140+
"${MAKE}" PROFILE="${UU_MAKE_PROFILE}" CARGOFLAGS="${CARGO_FEATURE_FLAGS}" UTILS="runcon chcon"
139141
touch g
140142
echo "stat with selinux support"
141143
./target/debug/stat -c%C g || true

util/gnu-patches/tests_invalid_opt.patch

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@ Index: gnu/tests/misc/invalid-opt.pl
22
===================================================================
33
--- gnu.orig/tests/misc/invalid-opt.pl
44
+++ gnu/tests/misc/invalid-opt.pl
5-
@@ -34,7 +34,6 @@
6-
expr => 0,
7-
nice => 125,
8-
nohup => 125,
9-
- runcon => 125,
10-
sort => 2,
11-
stdbuf => 125,
12-
test => 0,
135
@@ -74,23 +74,13 @@ foreach my $prog (@built_programs)
146
defined $out
157
or $out = '';

util/why-skip.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
* tests/mkdir/restorecon.sh
3030
* tests/misc/selinux.sh
3131
* tests/misc/chcon.sh
32-
* tests/runcon/runcon-no-reorder.sh
3332
* tests/install/install-Z-selinux.sh
3433
* tests/install/install-C-selinux.sh
3534
* tests/id/no-context.sh

0 commit comments

Comments
 (0)