summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
Diffstat (limited to 'check')
-rwxr-xr-xcheck4
1 files changed, 4 insertions, 0 deletions
diff --git a/check b/check
index eaec3a1d..8af05668 100755
--- a/check
+++ b/check
@@ -22,6 +22,10 @@ set -e
python setup.py clean check
cmdtest tests
cmdtest tests.branching
+if [ $(whoami) = root ] && command -v mkfs.btrfs > /dev/null
+then
+ cmdtest tests.as-root
+fi
if [ -d .git ];
then