summaryrefslogtreecommitdiff
path: root/tests/lib-restricts
blob: aca66926d8c377b8df97a3d83a88030f3779ebf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

t-restriction-x-dgit-intree-only () {
	if [ "x$DGIT_TEST_INTREE" != x ]; then return 0; fi
	echo 'running installed package version'
	return 1
}

t-restriction-x-dgit-git-only () {
	if test -d .git; then return 0; fi
	echo 'not running out of git clone'
	return 1
}