329573f3fc60 — Ryan McElroy 8 years ago
copytrace: skip tests if getdb.sh is not present

Test Plan: run-tests.py test-copytrace.t test-copytrace-bundle2.t test-filldb.t

Reviewers: #sourcecontrol, ttung

Reviewed By: ttung

Differential Revision: https://phabricator.fb.com/D2903427

Tasks: 9944051

Signature: t1:2903427:1454630393:5fda38cf9c6c981304cdc249e4f15cfd78f88497
1 files changed, 1 insertions(+), 0 deletions(-)

M tests/copytrace.sh
M tests/copytrace.sh +1 -0
@@ 1,3 1,4 @@ 
+test -f "$TESTDIR/getdb.sh" || exit 80
 DBHOSTPORT=$($TESTDIR/getdb.sh)
 DBHOST=`echo $DBHOSTPORT | cut -d : -f 1`
 DBPORT=`echo $DBHOSTPORT | cut -d : -f 2`