From bdc19f36500ac56a2834873667693cb0693151d5 Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Tue, 29 Jul 2025 09:17:21 +0200 Subject: [PATCH] create-empty-test: removed escape sequence from double quotes After simplifying the create-empty-test script in https://github.com/cfengine/buildscripts/pull/1815/files we no longer need to escape the double quotes. Doing so causes the literal backslash to be included causing the following error: ``` org.dom4j.DocumentException: Error on line 1 of document : The value following "version" in the XML declaration must be a quoted string. ``` Signed-off-by: Lars Erik Wik --- build-scripts/create-empty-test | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build-scripts/create-empty-test b/build-scripts/create-empty-test index 8ed6f02bc..936e718c7 100755 --- a/build-scripts/create-empty-test +++ b/build-scripts/create-empty-test @@ -5,10 +5,10 @@ # test report saying that there were no tests to report. for repo in core nova; do - cat << EOF > "$BASEDIR"/"$repo"/tests/unit/no_tests.xml - - - + cat << EOF > "$BASEDIR/$repo/tests/unit/no_tests.xml" + + + EOF done