Lines Matching refs:TEST_LINK
132 TEST_LINK=`mktemp -t dbd-mysql-test.XXXXXX`; \
133 $(RM) "$$TEST_LINK"; \
134 ln -s $(MYSQL_TEST_DATADIR) "$$TEST_LINK"; \
137 $(PERL) -pi -e "s,('testsocket' => ').*?',\$$1/$$TEST_LINK/socket'," t/mysql.mtest ;\
142 --datadir="$$TEST_LINK" \
145 echo "$$TEST_LINK" > "$$TEST_LINK"/test_link; \
152 --datadir="$$TEST_LINK" \
153 --socket="$$TEST_LINK"/socket \
154 --pid-file="$$TEST_LINK"/pid \
159 if [ ! -e "$$TEST_LINK/socket" ]; then \
161 PID=`cat "$$TEST_LINK"/pid`; \
163 $(RM) "$$TEST_LINK"; \
169 --socket "$$TEST_LINK"/socket \
175 --socket "$$TEST_LINK"/socket \
181 ( $(SET_X) PID=`cat "$$TEST_LINK"/pid`; sleep 600; ps -p $$PID && kill $$PID || : ) $(SILENT) & \
182 echo $$! > "$$TEST_LINK"/pid_of_guard; \