summaryrefslogtreecommitdiff
path: root/tests/misc/runcon-no-reorder
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/runcon-no-reorder')
-rwxr-xr-xtests/misc/runcon-no-reorder8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/misc/runcon-no-reorder b/tests/misc/runcon-no-reorder
index c38c91d3c..ee20df041 100755
--- a/tests/misc/runcon-no-reorder
+++ b/tests/misc/runcon-no-reorder
@@ -16,12 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if test "$VERBOSE" = yes; then
- set -x
- runcon --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && runcon --version
diag='runcon: runcon may be used only on a SELinux kernel'
echo "$diag" > exp || framework_failure