Closed pcmoore closed 5 years ago
More information on the failure:
# ./test
1..16
Client timer expired waiting for Binder reply
not ok 1
# Failed test at ./test line 110.
Client main() failing command BR_FAILED_REPLY, exiting.
ok 2
Client timer expired waiting for Binder reply
not ok 3
# Failed test at ./test line 122.
Client timer expired waiting for Binder reply
not ok 4
# Failed test at ./test line 127.
Client timer expired waiting for Binder reply
not ok 5
# Failed test at ./test line 133.
Manager failed to become context manager: Permission denied
ok 6
Client timer expired waiting for Binder reply
not ok 7
# Failed test at ./test line 156.
Client timer expired waiting for Binder reply
not ok 8
# Failed test at ./test line 176.
Client timer expired waiting for Binder reply
not ok 9
# Failed test at ./test line 192.
Client main() failing command BR_FAILED_REPLY, exiting.
ok 10
Client timer expired waiting for Binder reply
not ok 11
# Failed test at ./test line 204.
Client timer expired waiting for Binder reply
not ok 12
# Failed test at ./test line 210.
Client timer expired waiting for Binder reply
not ok 13
# Failed test at ./test line 216.
Manager failed to become context manager: Permission denied
ok 14
Client timer expired waiting for Binder reply
not ok 15
# Failed test at ./test line 242.
Client timer expired waiting for Binder reply
not ok 16
# Failed test at ./test line 261.
# Looks like you failed 12 tests of 16.
Found the problem:
diff --git a/tests/binder/test b/tests/binder/test
index bb00b72..b888408 100755
--- a/tests/binder/test
+++ b/tests/binder/test
@@ -89,7 +89,7 @@ sub service_start {
}
# Wait for it to initialize.
- system("read -t 5 <>$basedir/flag");
+ system("read -t 5 <>$basedir/$flag");
return $pid;
}
Fixed with 1a0dc744d2dcbd28c239ae5a7d5784a8630b2a1d.
Mea culpa; merge error on my part
No worries, I've had a couple myself. I was just glad it turned out to be something so simple :)
Prior to commit c37b0182a9af03fff490fc37b64ebe49e3989f9f the test suite results in the following results on my test VM:
With commit c37b0182a9af03fff490fc37b64ebe49e3989f9f I see the following: