← Commit list

33eae2871

Denys Vlasenko
Denys Vlasenko
2018-06-27
SUCCESS Duration: 148s

Subject

testsuite/pidof.tests: fix false positive

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

testsuite/pidof.tests+2 -0
@@ -18,9 +18,11 @@ testing "pidof (exit with success)" "pidof pidof > /dev/null; echo \$?" \
testing "pidof this" "pidof pidof.tests | grep -o -w $$" "$$\n" "" ""
+test x"`cat /proc/1/comm`" = x"init" && {
optional FEATURE_PIDOF_SINGLE
testing "pidof -s" "pidof -s init" "1\n" "" ""
SKIP=
+}
optional FEATURE_PIDOF_OMIT FEATURE_PIDOF_SINGLE
# This test fails now because process name matching logic has changed,