diff options
author | greg@kroah.com <greg@kroah.com> | 2004-03-12 17:19:50 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:35:09 -0700 |
commit | b9a88fe756d20ea13b8f6da87c784d8aac9c4538 (patch) | |
tree | 6d3abe39af0ea422da93bb1006522b058cf10f3c | |
parent | fa19f1811c20b6ec3631cecca9aa18ff2413eebb (diff) |
[PATCH] make perm and major:minor test errors be reported properly.
-rw-r--r-- | test/udev-test.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl index fc682b528a..e5407364bb 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++; } } |