diff options
author | Devaev Maxim <[email protected]> | 2020-07-09 05:04:21 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-07-09 05:13:03 +0300 |
commit | 53eb74670d040c9e8745433a2641f18796da365c (patch) | |
tree | b321d856280e6fe4bb2b410b582c046ae4e7ee20 /testenv/fakes | |
parent | 69f77ce48b279c614f1aaca809c1d74e411f1fd1 (diff) |
hw monitoring
Diffstat (limited to 'testenv/fakes')
-rw-r--r-- | testenv/fakes/cpu_temp | 1 | ||||
-rw-r--r-- | testenv/fakes/dt_model | 1 | ||||
-rw-r--r-- | testenv/fakes/msd/cdrom | 1 | ||||
-rw-r--r-- | testenv/fakes/msd/file | 0 | ||||
-rw-r--r-- | testenv/fakes/msd/ro | 1 | ||||
-rwxr-xr-x | testenv/fakes/vcgencmd | 5 |
6 files changed, 9 insertions, 0 deletions
diff --git a/testenv/fakes/cpu_temp b/testenv/fakes/cpu_temp new file mode 100644 index 00000000..9db0c8a7 --- /dev/null +++ b/testenv/fakes/cpu_temp @@ -0,0 +1 @@ +36511 diff --git a/testenv/fakes/dt_model b/testenv/fakes/dt_model new file mode 100644 index 00000000..3afd3566 --- /dev/null +++ b/testenv/fakes/dt_model @@ -0,0 +1 @@ +Virtual Raspberry Pi diff --git a/testenv/fakes/msd/cdrom b/testenv/fakes/msd/cdrom new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/testenv/fakes/msd/cdrom @@ -0,0 +1 @@ +1 diff --git a/testenv/fakes/msd/file b/testenv/fakes/msd/file new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/testenv/fakes/msd/file diff --git a/testenv/fakes/msd/ro b/testenv/fakes/msd/ro new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/testenv/fakes/msd/ro @@ -0,0 +1 @@ +1 diff --git a/testenv/fakes/vcgencmd b/testenv/fakes/vcgencmd new file mode 100755 index 00000000..3f4990c6 --- /dev/null +++ b/testenv/fakes/vcgencmd @@ -0,0 +1,5 @@ +#!/bin/sh +case $1 in + get_throttled) echo "throttled=0x0";; + measure_temp) echo "temp=35.0'C";; +esac |