Fix po files include and tests.
authorMilan Broz <gmazyland@gmail.com>
Tue, 26 Oct 2010 14:35:16 +0000 (14:35 +0000)
committerMilan Broz <gmazyland@gmail.com>
Tue, 26 Oct 2010 14:35:16 +0000 (14:35 +0000)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@350 36d66b0a-2a48-0410-832c-cd162a569da5

po/POTFILES.in
tests/Makefile.am
tests/mode-test

index bebd7e2..27e56dc 100644 (file)
@@ -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
index 98df369..324207e 100644 (file)
@@ -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
index e65be1d..5f34526 100755 (executable)
@@ -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