From 3e53920470cf343c8c1db9a944af5ed0e137c54d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 9 Oct 2007 15:48:51 +0200 Subject: Make the runcon-no-reorder test slightly more general. * tests/misc/runcon-no-reorder: Don't hard-code "unconstrained_t". Use slightly more general "runcon $(id -Z)". Suggestion from Stephen Smalley. --- tests/misc/runcon-no-reorder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/misc') diff --git a/tests/misc/runcon-no-reorder b/tests/misc/runcon-no-reorder index 0fda3b442..a395e10f8 100755 --- a/tests/misc/runcon-no-reorder +++ b/tests/misc/runcon-no-reorder @@ -34,7 +34,7 @@ fail=0 # On such a system it fails with the above diagnostic, which is fine. # Before the no-reorder change, it would have failed with a diagnostic # about -j being an invalid option. -runcon -t unconfined_t true -j 2> out && : > exp +runcon $(id -Z) true -j 2> out && : > exp compare out exp || fail=1 -- cgit v1.2.3-70-g09d2