[SRU][B][PATCH 1/1] UBUNTU: SAUCE: selftest: rtctest: Fix force-passing unreliable subtest
Andrei Gherzan
andrei.gherzan at canonical.com
Sat Mar 4 00:53:17 UTC 2023
BugLink: https://bugs.launchpad.net/bugs/1814234
Commit bf5f226e053637f6b5d0ba86827eedbd0a63690e force-passes the pie
test but while doing so it introduces a syntax error. This change fixes
it.
Fixes: bf5f226e05363 ("UBUNTU: SAUCE: selftest: rtctest: Force passing
unreliable subtest")
Signed-off-by: Andrei Gherzan <andrei.gherzan at canonical.com>
---
tools/testing/selftests/timers/rtctest.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/timers/rtctest.c b/tools/testing/selftests/timers/rtctest.c
index 6166ff7b022ba..8427164db9bcd 100644
--- a/tools/testing/selftests/timers/rtctest.c
+++ b/tools/testing/selftests/timers/rtctest.c
@@ -318,7 +318,6 @@ int main(int argc, char **argv)
timersub(&end, &start, &diff);
if (diff.tv_sec > 0 ||
diff.tv_usec > ((1000000L / tmp) * 1.10)) {
- fprintf(stderr, "\nPIE delta error: %ld.%06ld should be close to 0.%06ld\n",
fprintf(stderr, "\nUbuntu Testing Force Pass LP #1814234: PIE delta error: %ld.%06ld should be close to 0.%06ld\n",
diff.tv_sec, diff.tv_usec,
(1000000L / tmp));
--
2.34.1
More information about the kernel-team
mailing list