summaryrefslogtreecommitdiff
path: root/tests/id/no-context
diff options
context:
space:
mode:
Diffstat (limited to 'tests/id/no-context')
-rwxr-xr-xtests/id/no-context8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/id/no-context b/tests/id/no-context
index fa9ffb350..90ff71ee0 100755
--- a/tests/id/no-context
+++ b/tests/id/no-context
@@ -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
- id --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && id --version
# We don't need selinux *FS* support to test id,
# but this is as good a witness as any, in general.