summaryrefslogtreecommitdiff
path: root/testenv/fakes
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-07-09 05:04:21 +0300
committerDevaev Maxim <[email protected]>2020-07-09 05:13:03 +0300
commit53eb74670d040c9e8745433a2641f18796da365c (patch)
treeb321d856280e6fe4bb2b410b582c046ae4e7ee20 /testenv/fakes
parent69f77ce48b279c614f1aaca809c1d74e411f1fd1 (diff)
hw monitoring
Diffstat (limited to 'testenv/fakes')
-rw-r--r--testenv/fakes/cpu_temp1
-rw-r--r--testenv/fakes/dt_model1
-rw-r--r--testenv/fakes/msd/cdrom1
-rw-r--r--testenv/fakes/msd/file0
-rw-r--r--testenv/fakes/msd/ro1
-rwxr-xr-xtestenv/fakes/vcgencmd5
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