]>
git.saurik.com Git - apple/security.git/blob - OSX/regressions/test/test-00-test.c
   2  * Copyright (c) 2006-2007,2012,2014 Apple Inc. All Rights Reserved. 
   7 #include "test_regressions.h" 
   9 int test_00_test(int argc
, char *const *argv
) 
  15         todo("ok 0 is supposed to fail"); 
  19             diag("ok bad not good today"); 
  25         skip("is bad will fail", 1, 0); 
  27         if (!is(0, 4, "is bad")) 
  28             diag("is bad not good today"); 
  31         skip("is ok should not be skipped", 1, 1); 
  36     isnt(0, 4, "isnt ok"); 
  38         todo("isnt bad is supposed to fail"); 
  40         isnt(3, 3, "isnt bad"); 
  43         todo("cmp_ok bad is supposed to fail"); 
  45         cmp_ok(3, &&, 0, "cmp_ok bad"); 
  47     cmp_ok(3, &&, 3, "cmp_ok ok");