mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-09-30 13:32:39 +07:00
tests: Do not use config file in json test
Pass -c /dev/null when running tests
Fixes: e06d99df ("tests: Add trivial json formatting test")
This commit is contained in:
committed by
Michal Suchánek
parent
2d18c0952a
commit
c297368a0e
@@ -209,8 +209,8 @@ test-lib:: lib/test/test-scanner
|
||||
cd lib/test ; ./test-scanner.pl
|
||||
|
||||
test-sensors:: prog/sensors/sensors
|
||||
LD_LIBRARY_PATH=lib SENSORS_SYSFS_ROOT=prog/sensors/test/data/laptop prog/sensors/sensors -J | jq -S | diff -u prog/sensors/test/data/laptop.json -
|
||||
LD_LIBRARY_PATH=lib SENSORS_SYSFS_ROOT=prog/sensors/test/data/laptop prog/sensors/sensors -J -f | jq -S | diff -u prog/sensors/test/data/laptop.f.json -
|
||||
LD_LIBRARY_PATH=lib SENSORS_SYSFS_ROOT=prog/sensors/test/data/laptop prog/sensors/sensors -c /dev/null -J | jq -S | diff -u prog/sensors/test/data/laptop.json -
|
||||
LD_LIBRARY_PATH=lib SENSORS_SYSFS_ROOT=prog/sensors/test/data/laptop prog/sensors/sensors -c /dev/null -J -f | jq -S | diff -u prog/sensors/test/data/laptop.f.json -
|
||||
|
||||
user ::
|
||||
user_install::
|
||||
|
||||
Reference in New Issue
Block a user