X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=tests%2Fnon_regression_tests%2Fgen_output.sh;h=d416a008c87a66e9aa09d27ff7dc383ae7723e2b;hb=31f256a6c02a9c5ce2f8b1117738ff5bc818dc60;hp=daacbefe1b8cc12f70fc54320a29b157d01f7f8c;hpb=acb1fbf7cf8b7eb9c0ff413fa405f87f15a98b09;p=SXSI%2Fxpathcomp.git diff --git a/tests/non_regression_tests/gen_output.sh b/tests/non_regression_tests/gen_output.sh index daacbef..d416a00 100755 --- a/tests/non_regression_tests/gen_output.sh +++ b/tests/non_regression_tests/gen_output.sh @@ -12,5 +12,8 @@ do opt="" fi query=$(cat "$i" | cut -f 3 -d ',') - ../scripts/xpath.sh $opt "$query" ../docs/"$doc".xml > "$out" + rm -f tmp + ../scripts/xpath.sh $opt "$query" ../docs/"$doc".xml > tmp + ../../main.native -nw tmp '/child::*' "$out" done +rm -f tmp \ No newline at end of file