]> git.saurik.com Git - apple/security.git/blobdiff - secdtests/main.c
Security-57031.1.35.tar.gz
[apple/security.git] / secdtests / main.c
index fb6392e888fb300e563c8ff4a9687cbef6b9773a..ce2c7c9296c3d33d5765c988501ae87ec6776dbe 100644 (file)
@@ -1,16 +1,13 @@
-/*
- *  main.c
- *  Security
- *
- *  Created by Fabrice Gautier on 8/7/12.
- *  Copyright 2012 Apple, Inc. All rights reserved.
- *
- */
+//
+//  main.c
+//  secdtest
+//
+//  Created by Fabrice Gautier on 5/29/13.
+//
+//
 
 #include <stdio.h>
-#include <unistd.h>
-
-#include "test/testenv.h"
+#include <test/testenv.h>
 
 #include "testlist.h"
 #include <test/testlist_begin.h>
 
 #include <securityd/spi.h>
 
-int main(int argc, char *argv[])
+int main(int argc, char * const *argv)
 {
-    printf("Build date : %s %s\n", __DATE__, __TIME__);
-
-    /* We run this as if we are secd, so we need to initialize this */
     securityd_init(NULL);
 
     int result = tests_begin(argc, argv);
 
-    fflush(stderr);
     fflush(stdout);
-
-    sleep(1);
+    fflush(stderr);
 
     return result;
 }