* tests/cp/cp-a-selinux: Initialize skip, to avoid a syntax error
in subsequent "test".
Remove redirect-to-/dev/null, now that output is always to a log file.
ls -Z e | grep $ctx || fail=1
ls -Z f | grep $ctx || fail=1
-
+skip=0
# Create a file system, then mount it with the context=... option.
-dd if=/dev/zero of=blob bs=8192 count=200 > /dev/null 2>&1 \
- || skip=1
+dd if=/dev/zero of=blob bs=8192 count=200 || skip=1
mkdir mnt || skip=1
mkfs -t ext2 -F blob ||
skip_test_ "failed to create an ext2 file system"