From 4f21e17f46f9b0d85b87e609a3c8d5ec592f38cd Mon Sep 17 00:00:00 2001 From: "iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil" Date: Thu, 25 Jul 2024 14:00:42 -0400 Subject: [PATCH] remove curl output from logs --- .ci/system-tests/container/pc_setup.sh | 4 ++-- .ci/system-tests/container/rim_setup.sh | 4 ++-- .ci/system-tests/tests/aca_policy_tests.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.ci/system-tests/container/pc_setup.sh b/.ci/system-tests/container/pc_setup.sh index a2fddf69..6882cc93 100755 --- a/.ci/system-tests/container/pc_setup.sh +++ b/.ci/system-tests/container/pc_setup.sh @@ -86,7 +86,7 @@ dnf install -y unzip &> /dev/null # Step 2: Unpack the dmi files. echo "dmi file used was $dmiZip" -unzip -o "$dmiZip" -d $HIRS_CI_TEST_ROOT +unzip -o "$dmiZip" -d $HIRS_CI_TEST_ROOT > /dev/null # Step 3: Copy the platform cert to tcg folder and or upload it to the ACA if [[ ! -d $pcDir ]]; then @@ -103,7 +103,7 @@ pushd $pcDir > /dev/null fi if [ "$UPLOAD_ARTIFACTS" = YES ]; then echo "Uploading $cert to $SERVER_PCERT_POST" - curl -k -F "file=@$cert" $SERVER_PCERT_POST + curl -k -F "file=@$cert" $SERVER_PCERT_POST > /dev/null fi done fi diff --git a/.ci/system-tests/container/rim_setup.sh b/.ci/system-tests/container/rim_setup.sh index 0c997934..869cd5fc 100755 --- a/.ci/system-tests/container/rim_setup.sh +++ b/.ci/system-tests/container/rim_setup.sh @@ -84,7 +84,7 @@ pushd $swidDir > /dev/null fi if [ "$UPLOAD_ARTIFACTS" = YES ]; then echo "Uploading $swidtag to $SERVER_RIM_POST" - curl -k -F "file=@$swidtag" $SERVER_RIM_POST + curl -k -F "file=@$swidtag" $SERVER_RIM_POST > /dev/null fi done fi @@ -102,7 +102,7 @@ pushd $rimDir > /dev/null fi if [ "$UPLOAD_ARTIFACTS" = YES ]; then echo "Uploading $rim to $SERVER_RIM_POST" - curl -k -F "file=@$rim" $SERVER_RIM_POST + curl -k -F "file=@$rim" $SERVER_RIM_POST > /dev/null fi done fi diff --git a/.ci/system-tests/tests/aca_policy_tests.sh b/.ci/system-tests/tests/aca_policy_tests.sh index 653e2493..3a6a838f 100755 --- a/.ci/system-tests/tests/aca_policy_tests.sh +++ b/.ci/system-tests/tests/aca_policy_tests.sh @@ -102,7 +102,7 @@ if [ "$test" = "10" ] || [ "$test" = "all" ]; then uploadTrustedCerts setPlatformCerts -p "laptop" -t "default" setRims -p "laptop" -t "default" -u -n - provisionTpm2 "fail" + provisionTpm2 "pass" fi # Process Test Results, any single failure will send back a failed result.