Permalink
Browse files

Have the environment variable point at the clustertest jar, not

2 directories above it.
  • Loading branch information...
1 parent 7fcccf1 commit 21b22bb60784faf68312a139ab5ea045b92fc53d @ssinger ssinger committed Apr 29, 2011
@@ -1,5 +1,5 @@
# Shell configuration for DISORDER tests
# Where is the clustertest-framework?
-# Inside this, it references build/jar/clustertest-coordinator.jar
-CLUSTERTESTHOME=/var/lib/postgresql/PostgreSQL/clustertest-framework
+#
+CLUSTERTESTJAR=/var/lib/postgresql/PostgreSQL/clustertest-framework/build/jar/clustertest-coordinator.jar
@@ -31,4 +31,4 @@ for db in db1 db2 db3 db4 db5; do
${PGTESTPATH}/psql -h ${PGTESTHOST} -p ${PGTESTPORT} -U ${PGTESTUSER} -d template1 -c "drop database if exists ${PGTESTDATABASE};"
done
-java -jar ${CLUSTERTESTHOME}/build/jar/clustertest-coordinator.jar ${DBP} disorder/tests/disorder_tests.js
+java -jar ${CLUSTERTESTJAR} ${DBP} disorder/tests/disorder_tests.js
@@ -19,4 +19,4 @@ else
exit 1
fi
-java -jar ${CLUSTERTESTHOME}/build/jar/clustertest-coordinator.jar ${DBP} ./regression/test1/test1.js ./regression/testdatestyles/testdatestyles.js ./regression/testddl/testddl.js ./regression/testdeadlockddl/testdeadlockddl.js ./regression/testinherit/testinherit.js ./regression/testlargetuples/testlargetuples.js ./regression/testmergeset/testmergeset.js ./regression/testmultipaths/testmultipaths.js ./regression/testmultiplemoves/testmultiplemoves.js ./regression/testomitcopy/testomitcopy.js ./regression/testschemanames/testschemanames.js ./regression/testseqnames/testseqnames.js ./regression/testtabnames/testtabnames.js ./regression/testutf8/testutf8.js
+java -jar ${CLUSTERTESTJAR} ${DBP} ./regression/test1/test1.js ./regression/testdatestyles/testdatestyles.js ./regression/testddl/testddl.js ./regression/testdeadlockddl/testdeadlockddl.js ./regression/testinherit/testinherit.js ./regression/testlargetuples/testlargetuples.js ./regression/testmergeset/testmergeset.js ./regression/testmultipaths/testmultipaths.js ./regression/testmultiplemoves/testmultiplemoves.js ./regression/testomitcopy/testomitcopy.js ./regression/testschemanames/testschemanames.js ./regression/testseqnames/testseqnames.js ./regression/testtabnames/testtabnames.js ./regression/testutf8/testutf8.js

0 comments on commit 21b22bb

Please sign in to comment.