diff options
author | 2023-12-06 18:02:47 +0100 | |
---|---|---|
committer | 2024-01-30 12:31:56 -0800 | |
commit | 65612e993493014cb95be81ca4f98e08732c46d0 (patch) | |
tree | 051c9f91bb171b45a1e3b09eee2c549dbc6f7ec8 /tools/testing/selftests/kvm/x86_64/userspace_io_test.c | |
parent | KVM: selftests: s390x: Remove redundant newlines (diff) | |
download | wireguard-linux-65612e993493014cb95be81ca4f98e08732c46d0.tar.xz wireguard-linux-65612e993493014cb95be81ca4f98e08732c46d0.zip |
KVM: selftests: x86_64: Remove redundant newlines
TEST_* functions append their own newline. Remove newlines from
TEST_* callsites to avoid extra newlines in output.
Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20231206170241.82801-12-ajones@ventanamicro.com
[sean: keep the newline in the "tsc\n" strncmp()]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/testing/selftests/kvm/x86_64/userspace_io_test.c')
-rw-r--r-- | tools/testing/selftests/kvm/x86_64/userspace_io_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/kvm/x86_64/userspace_io_test.c b/tools/testing/selftests/kvm/x86_64/userspace_io_test.c index 255c50b0dc32..9481cbcf284f 100644 --- a/tools/testing/selftests/kvm/x86_64/userspace_io_test.c +++ b/tools/testing/selftests/kvm/x86_64/userspace_io_test.c @@ -71,7 +71,7 @@ int main(int argc, char *argv[]) break; TEST_ASSERT(run->io.port == 0x80, - "Expected I/O at port 0x80, got port 0x%x\n", run->io.port); + "Expected I/O at port 0x80, got port 0x%x", run->io.port); /* * Modify the rep string count in RCX: 2 => 1 and 3 => 8192. |