diff mbox series

[SRU,B,1/1] UBUNTU: SAUCE: selftest: rtctest: Fix force-passing unreliable subtest

Message ID 20230304005315.37298-2-andrei.gherzan@canonical.com
State New
Headers show
Series Fix force-passing unreliable subtest | expand

Commit Message

Andrei Gherzan March 4, 2023, 12:53 a.m. UTC
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@canonical.com>
---
 tools/testing/selftests/timers/rtctest.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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));