awslabs / damo

DAMON user-space tool
https://damonitor.github.io/
GNU General Public License v2.0
148 stars 28 forks source link

tests: schemes: test.sh: Python version included #90

Closed piyushthange closed 3 months ago

piyushthange commented 3 months ago

While running sudo ./test/run.sh encountered the error due to python version. Following was the error.

./schemes/test.sh: line 27: python: command not found
could not turn on damon (writing on to /sys/kernel/mm/damon/admin/kdamonds/0/state
failed ([Errno 22] Invalid argument))
./schemes/test.sh: line 45: test_stat_applied / (SECONDS - start_time): division
by 0 (error token is "(SECONDS - start_time)")

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

sjp38 commented 3 months ago

Thank you for finding and fixing this! Looks good to me!