Current File : //opt/RZphp74/includes/test/XML_Query2XML/tests/XML_Query2XML/syncTests.sh
#!/bin/bash

# sync the test directories DB, MDB2, ADOdbDefault, ADOdbException & ADOdbPEAR
# treating DB as the master

cd `dirname $0` || exit 1

./diffTests.sh | grep 'diff -ruN' | awk '{print $9 " " $10}' | \
while read SRC DST;
do
	echo syncing $DST
	cat $SRC > $DST;
done