Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0927 1 #116

Merged
merged 3 commits into from
Sep 28, 2023
Merged

0927 1 #116

merged 3 commits into from
Sep 28, 2023

Conversation

xupengfe
Copy link
Contributor

No description provided.

Add default value for LOGFILE to make sure lkvs log could be recorded and
it could avoid the issue when runtest without logfile situation also.

Signed-off-by: Pengfei Xu <[email protected]>
Shell read command will be cleared in the vm test, ensure all the test TODO list
are not cleared before testing, improve the TODO list way.

Signed-off-by: Pengfei Xu <[email protected]>
@@ -158,7 +163,8 @@ test_all() {
fi
}

: LOGFILE=""
# Default value
: "${LOGFILE:="./lkvs.log"}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Pengfei, is this correct ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As before I wrote as following:
: ${LOGFILE:="./lkvs.log"}
And met below warning:
https://www.shellcheck.net/wiki/SC2223

And fixed above warning to write as present sample.

The double quotes within the curly braces will not conflict with the double quotes outside the curly braces, and there is no problem with the test.

Thanks!

…e is too long

VM case result is long like as following:
guest.test_launcher.sh -v 1 -s 1 -m 1 -d on -t tdx -x TD_BOOT -c "accept_memory=lazy" -p offPASS       0           21.070s

Add one space and make the result more clearly as following:
guest.test_launcher.sh -v 1 -s 1 -m 1 -d on -t tdx -x TD_BOOT -c "accept_memory=lazy" -p off PASS      0           21.000s

Signed-off-by: Pengfei Xu <[email protected]>
@ysun ysun merged commit e606bcd into intel:main Sep 28, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants