mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
check for getdb.sh in tests
Test Plan: run tests without getdb.sh Reviewers: #sourcecontrol, ttung, durham Reviewed By: durham Differential Revision: https://phabricator.fb.com/D3006362 Signature: t1:3006362:1457030481:7dc0af51e84c6d7007b74e052e804b8fd0be6062
This commit is contained in:
parent
b9082ab1ff
commit
60d590a50b
@ -1,3 +1,4 @@
|
||||
test -f "$TESTDIR/getdb.sh" || (echo "getdb.sh missing" && exit 80)
|
||||
DBHOSTPORT=$($TESTDIR/getdb.sh)
|
||||
DBHOST=`echo $DBHOSTPORT | cut -d : -f 1`
|
||||
DBPORT=`echo $DBHOSTPORT | cut -d : -f 2`
|
||||
@ -37,7 +38,6 @@ value char(40) BINARY NOT NULL,
|
||||
UNIQUE KEY bookmarkindex (repo, namespace, name)
|
||||
);' 2>/dev/null
|
||||
|
||||
|
||||
function initserver() {
|
||||
hg init $1
|
||||
cat >> $1/.hg/hgrc <<EOF
|
||||
|
Loading…
Reference in New Issue
Block a user