chiark / gitweb /
po4a: pairwise-pocheck: Force it to be run sometimes
[dgit.git] / tests / lib-restricts
index dfaaa25eebbee7334a722e34c14be6e6b5b9a7a3..5d32288217f01ac41350422731093b1858d723fa 100644 (file)
@@ -6,6 +6,12 @@ t-restriction-x-dgit-intree-only () {
        return 1
 }
 
+t-restriction-x-dgit-out-of-tree-only () {
+       if [ "x$DGIT_TEST_INTREE" = x ]; then return 0; fi
+       echo 'running out of development tree'
+       return 1
+}
+
 t-restriction-x-dgit-git-only () {
        if test -d .git; then return 0; fi
        echo 'not running out of git clone'