Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-01 | hwdb-test: properly print error output from systemd-hwdb update | Zbigniew Jędrzejewski-Szmek | |
Because -e was set, we'd exit immediately when systemd-hwdb failed and the captured error output was never printed. We want to test two things: that 0 is returned, and that nothing is printed to stderr (to catch syntax errors in the hwdb). v2: stop capturing stderr to a variable v3: capture stderr to a variable and test both error types separately | |||
2016-11-24 | tests: add hwdb parsing test | Martin Pitt | |
This calls the built "systemd-hwdb update" on the source tree's hwdb/ in a temporary directory and verifies that there are no error messages. |