From 6fde2f640bfc6afeaf12e731720b9ac1b95da912 Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Tue, 26 Oct 2010 14:35:16 +0000 Subject: [PATCH] Fix po files include and tests. git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@350 36d66b0a-2a48-0410-832c-cd162a569da5 --- po/POTFILES.in | 2 +- tests/Makefile.am | 2 +- tests/mode-test | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/po/POTFILES.in b/po/POTFILES.in index bebd7e2..27e56dc 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -3,9 +3,9 @@ lib/gcrypt.c lib/libdevmapper.c lib/setup.c lib/utils.c +lib/utils_crypt.c lib/utils_debug.c luks/af.c -luks/hexprint.c luks/keyencryption.c luks/keymanage.c luks/pbkdf.c diff --git a/tests/Makefile.am b/tests/Makefile.am index 98df369..324207e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,6 +1,6 @@ TESTS = api-test compat-test align-test mode-test -EXTRA_DIST = compatimage.img.bz2 align-test compat-test +EXTRA_DIST = compatimage.img.bz2 align-test compat-test mode-test differ_SOURCES = differ.c differ_CFLAGS = -Wall -O2 diff --git a/tests/mode-test b/tests/mode-test index e65be1d..5f34526 100755 --- a/tests/mode-test +++ b/tests/mode-test @@ -88,6 +88,11 @@ dmcrypt() fi } +if [ $(id -u) != 0 ]; then + echo "WARNING: You must be root to run this test, test skipped." + exit 0 +fi + add_device # compatibility modes -- 2.7.4