]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fixed test result to be independent of the system address size.
authorTom Hughes <tom@compton.nu>
Tue, 29 Mar 2005 07:40:04 +0000 (07:40 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 29 Mar 2005 07:40:04 +0000 (07:40 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3470

corecheck/tests/pth_cancel1.c
corecheck/tests/pth_cancel1.stdout.exp

index d1b93e34b86bebe3348029d0ffe4c7cf9bf3f684..11eef5201a51a72931622d5d226ca93a5b93af28 100644 (file)
@@ -60,7 +60,7 @@ int main(int argc, char **argv)
       exit(1);
     }
 
-  printf("result = %p\n", result);
+  printf("result is %s\n", result == PTHREAD_CANCELED ? "correct" : "incorrect");
   
   exit(0);
 }
index f0e1e4e3a7146c51bdb472857bbf7d7afa3a918c..029c384b2f80ecde7eef60cf1c220ac04542e24a 100644 (file)
@@ -1,3 +1,3 @@
 cleaning up 0x5678
 cleaning up 0x1234
-result = 0xffffffff
+result is correct