mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-28 06:35:34 +07:00
[PATCH] make perm and major:minor test errors be reported properly.
This commit is contained in:
parent
fa19f1811c
commit
b9a88fe756
@ -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++;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user