From b9a88fe756d20ea13b8f6da87c784d8aac9c4538 Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Fri, 12 Mar 2004 17:19:50 -0800 Subject: [PATCH] [PATCH] make perm and major:minor test errors be reported properly. --- test/udev-test.pl | 2 ++ 1 file changed, 2 insertions(+) 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++; } } -- 2.39.5