]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: udev - Signal that test was skipped when running as non-root 1088/head
authorFilipe Brandenburger <filbranden@google.com>
Mon, 31 Aug 2015 05:10:30 +0000 (22:10 -0700)
committerFilipe Brandenburger <filbranden@google.com>
Mon, 31 Aug 2015 05:10:30 +0000 (22:10 -0700)
commit4d55fc5b2116140b8d89cfc68cb793f1163a0f2c
tree90a55068e5e66a7c36c50eb452a0642b8e6e0720
parent40ec276fdfc98f9fa7ed155b906235a79711066d
test: udev - Signal that test was skipped when running as non-root

It is more accurate to report that the test was skipped rather than
succeeded if we did not get to run it because it requires root.

Tested by running `make check` and inspecting the log file:

  $ cat test/udev-test.pl.log
  Must have root permissions to run properly.
  SKIP test/udev-test.pl (exit status: 77)

The `make check` output also reported:

  SKIP: test/udev-test.pl
test/udev-test.pl