From 1c88fb133fc8a7b47ec6378a7c3e829a71253012 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Mon, 26 Nov 2007 15:50:50 +0200 Subject: [PATCH] kvm: testsuite: fix sense of mov test Signed-off-by: Avi Kivity --- kvm/user/test/x86/emulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kvm/user/test/x86/emulator.c b/kvm/user/test/x86/emulator.c index c2a7a840b5..61bccd7aee 100644 --- a/kvm/user/test/x86/emulator.c +++ b/kvm/user/test/x86/emulator.c @@ -30,7 +30,7 @@ int main() : [t2]"=r"(t2) : [t1]"r"(t1), [mem]"r"(mem) : "memory"); - report("mov reg, r/m (1)", t2 != 0x123456789abcdef); + report("mov reg, r/m (1)", t2 == 0x123456789abcdef); printf("\nSUMMARY: %d tests, %d failures\n", tests, fails); return fails ? 1 : 0; -- 2.11.4.GIT