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

qmp_event_notification: watchdog "debug" and "none" tests reported false ERROR on clean-up #1664

Open
rayx opened this issue Feb 18, 2019 · 0 comments

Comments

@rayx
Copy link
Contributor

rayx commented Feb 18, 2019

This was because the test checked dmesg output on exit and found a message like this:

[  459.424792] i6300esb: Unexpected close, not stopping watchdog!

The message was not an error. It was just a user-friendly reminder that closing /dev/watchdog didn't stop it (user should do "echo V >/dev/watchdog" instead).

To avoid the message (and hence the false ERROR result), the test needs to keep the file open before it checks dmesg. I think something like the following should do the trick:

# sh -c "echo 0; sleep 360" > /dev/watchdog &
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

No branches or pull requests

1 participant