# HG changeset patch # User Ryan McElroy # Date 1454671399 28800 # Fri Feb 05 03:23:19 2016 -0800 # Node ID 329573f3fc606ee0b524383ac70f05bd2ecab0e8 # Parent 3e2223a544db3b3f530d334c2593cf815c438996 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 diff --git a/tests/copytrace.sh b/tests/copytrace.sh --- a/tests/copytrace.sh +++ b/tests/copytrace.sh @@ -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`