From c297368a0e4b0442fca06bae58a0bd3386629af0 Mon Sep 17 00:00:00 2001 From: Michal Suchanek Date: Sun, 4 Feb 2024 22:55:42 +0100 Subject: [PATCH] tests: Do not use config file in json test Pass -c /dev/null when running tests Fixes: e06d99df ("tests: Add trivial json formatting test") --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 651ee5cc..10a088db 100644 --- a/Makefile +++ b/Makefile @@ -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::