]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev-test: fix test skip condition 11098/head
authorAlexey Bogdanenko <alexey@bogdanenko.com>
Sat, 8 Dec 2018 08:02:30 +0000 (11:02 +0300)
committerAlexey Bogdanenko <alexey@bogdanenko.com>
Sun, 9 Dec 2018 16:22:47 +0000 (19:22 +0300)
commit7935dae547caf164d807237f1009a9e9fa510337
tree057aa1fa71642191e16db78f41e8a565161d217a
parenta01eb97b6c9b43a4303c55cf10b8ab469300f343
udev-test: fix test skip condition

When there is a failure to setup the environment, the following happens:

1. Command "./test-udev check" exits with non-zero code.
2. Perl function "system" returns the code.
3. The code is evaluated as true by Perl.

Then we stop the test.
test/udev-test.pl