summaryrefslogtreecommitdiff
path: root/testenv/fakes/vcgencmd
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/vcgencmd
parent69f77ce48b279c614f1aaca809c1d74e411f1fd1 (diff)
hw monitoring
Diffstat (limited to 'testenv/fakes/vcgencmd')
-rwxr-xr-xtestenv/fakes/vcgencmd5
1 files changed, 5 insertions, 0 deletions
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