From: greg@kroah.com Date: Sat, 13 Mar 2004 01:19:50 +0000 (-0800) Subject: [PATCH] make perm and major:minor test errors be reported properly. X-Git-Tag: 022~7 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9a88fe756d20ea13b8f6da87c784d8aac9c4538;p=systemd [PATCH] make perm and major:minor test errors be reported properly. --- diff --git a/test/udev-test.pl b/test/udev-test.pl index fc682b52..e5407364 100644 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -596,6 +596,7 @@ sub run_test { if ($wrong == 1) { printf "expected permissions are: %i:%i:%#o\n", $1, $2, oct($3); printf "created permissions are : %i:%i:%#o\n", $uid, $gid, $mode & 07777; + $error++; } } @@ -614,6 +615,7 @@ sub run_test { if ($wrong == 1) { printf "expected major:minor is: %i:%i\n", $1, $2; printf "created major:minor is : %i:%i\n", $major, $minor; + $error++; } }