Repository navigation
Conversation
xiulipan
suggested changes
Dec 18, 2019
| sudo sof-boot-once.sh export DMESG_LOG_START_LINE=$(wc -l /var/log/kern.log|awk '{print $1;}') | ||
|
|
||
| # run this script for next boot up round | ||
| dlogi "sof-boot-onece.sh ${BASH_SOURCE[0]} -l $loop_count" |tee -a $STRESS_OUTPUT_LOG |
Contributor
There was a problem hiding this comment.
Suggested change
| dlogi "sof-boot-onece.sh ${BASH_SOURCE[0]} -l $loop_count" |tee -a $STRESS_OUTPUT_LOG | |
| dlogc "sof-boot-onece.sh ${BASH_SOURCE[0]} -l $loop_count" |tee -a $STRESS_OUTPUT_LOG |
| if [ 0 -ne 0 ];then | ||
| # last line add failed keyword | ||
| sed -i '$s/$/ fail/' $STRESS_STATUS_LOG | ||
| dlogi "$i: fail" |tee -a $STRESS_OUTPUT_LOG |
Contributor
There was a problem hiding this comment.
Can you hijack the dlog* cmd to wrap the |tee -a $STRESS_OUTPUT_LOG when STRESS_OUTPUT_LOG is defined?
Contributor
Author
There was a problem hiding this comment.
that's the good idea, I will try it
Contributor
Author
There was a problem hiding this comment.
check with #5 , I don't think here need to modify
because when run from remote, the nohup command will handle all output
from the local it don't need to handle it
here use tee command because after system reboot,
the nohup command is miss, Because current script is run in rc.local which called by root permission
Test case reboot for the stress test type Signed-off-by: Wu, BinX <binx.wu@intel.com>
Contributor
Author
|
Will new design the test-case current close this PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test case reboot for the stress test type
This case base on #3 #4 #5 change
Signed-off-by: Wu, BinX binx.wu@intel.com