r2959 - in zodb/trunk/debian/tests (all)
jmuchemb-guest at users.alioth.debian.org
jmuchemb-guest at users.alioth.debian.org
Tue Aug 11 13:46:37 UTC 2015
Date: Tuesday, August 11, 2015 @ 13:46:36
Author: jmuchemb-guest
Revision: 2959
autopkgtest: make sure tests are not run with root user
Blob test rely on the fact that read-only files (0400)
can't be open for writing.
Modified:
zodb/trunk/debian/tests/all
Modified: zodb/trunk/debian/tests/all
===================================================================
--- zodb/trunk/debian/tests/all 2015-08-11 13:46:33 UTC (rev 2958)
+++ zodb/trunk/debian/tests/all 2015-08-11 13:46:36 UTC (rev 2959)
@@ -1,6 +1,11 @@
#!/bin/sh
set -e
+if [ `id -u` = 0 ]; then
+ echo "Blob tests fail when run with root user."
+ exit 1
+fi
+
PYVERS=$(pyversions -vr debian/control)
for version in ${PYVERS}; do
More information about the pkg-zope-developers
mailing list