From 0a01b5ec960883bab6bfbcaab007b09ab609c5d0 Mon Sep 17 00:00:00 2001 From: yuefanxiao <591649725@qq.com> Date: Wed, 14 May 2025 22:25:21 +0800 Subject: [PATCH] fix: error directory path in tests.sh --- script/test/cmd/tests.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script/test/cmd/tests.sh b/script/test/cmd/tests.sh index 7991f4cd..a5d5959f 100755 --- a/script/test/cmd/tests.sh +++ b/script/test/cmd/tests.sh @@ -283,10 +283,10 @@ convert::expect_success "$k8s_cmd" "$k8s_output" || exit 1 convert::expect_success "$os_cmd" "$os_output" || exit 1 # Test configmap generated by env_file with variable interpolation -k8s_cmd="kompose -f $KOMPOSE_ROOT/script/test/fixtures/env-lookup/compose.yaml convert --stdout --with-kompose-annotation=false" -os_cmd="kompose --provider=openshift -f $KOMPOSE_ROOT/script/test/fixtures/env-lookup/compose.yaml convert --stdout --with-kompose-annotation=false" -k8s_output="$KOMPOSE_ROOT/script/test/fixtures/env-lookup/output-k8s.yaml" -os_output="$KOMPOSE_ROOT/script/test/fixtures/env-lookup/output-os.yaml" +k8s_cmd="kompose -f $KOMPOSE_ROOT/script/test/fixtures/envfile-interpolation/compose.yaml convert --stdout --with-kompose-annotation=false" +os_cmd="kompose --provider=openshift -f $KOMPOSE_ROOT/script/test/fixtures/envfile-interpolation/compose.yaml convert --stdout --with-kompose-annotation=false" +k8s_output="$KOMPOSE_ROOT/script/test/fixtures/envfile-interpolation/output-k8s.yaml" +os_output="$KOMPOSE_ROOT/script/test/fixtures/envfile-interpolation/output-os.yaml" convert::expect_success_and_warning "$k8s_cmd" "$k8s_output" || exit 1 convert::expect_success_and_warning "$os_cmd" "$os_output" || exit 1