git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blackbox: removed assumption of build directory
[samba.git]
/
testprogs
/
blackbox
/
subunit.sh
diff --git
a/testprogs/blackbox/subunit.sh
b/testprogs/blackbox/subunit.sh
index 990bee57a6290590ee2f3b1e7c503b9e15be38ab..b8e5b5b322858483dbeeb6cdeb7eb1db2776d99a 100755
(executable)
--- a/
testprogs/blackbox/subunit.sh
+++ b/
testprogs/blackbox/subunit.sh
@@
-83,3
+83,11
@@
testit_expect_failure () {
fi
return $status
}
+
+# work out the top level source directory
+if [ -d source4 ]; then
+ SRCDIR="."
+else
+ SRCDIR=".."
+fi
+export SRCDIR