summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/bin/scala-test3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/bin/scala-test b/test/bin/scala-test
index 2f1ce031b5..a7814015ff 100755
--- a/test/bin/scala-test
+++ b/test/bin/scala-test
@@ -145,8 +145,7 @@ test_xml() {
fi;
rm -rf "$output";
mkdir -p "$output" &&
- cp "$dtdfile" "$output/dtd.dtd" &&
- ( cd "$output"; $DTD2SCALA dtd.dtd dtd ) &&
+ $DTD2SCALA -d "$output" "$dtdfile" dtd &&
$SOCOS -d "$output" $TEST_FLAGS $FLAGS "$objfile" "$source" &&
java -classpath "$classpath" Test "$xmlfile" &&
rm -rf "$output";