]> git.saurik.com Git - apple/security.git/blobdiff - Security/codesign_tests/validation.sh
Security-57336.1.9.tar.gz
[apple/security.git] / Security / codesign_tests / validation.sh
diff --git a/Security/codesign_tests/validation.sh b/Security/codesign_tests/validation.sh
deleted file mode 100755 (executable)
index c439893..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-
-echo "[TEST] codesign dynamic validation"
-
-echo "[BEGIN] Dynamic validate pid 1"
-codesign --verify --verbose=3 1
-
-if [ $? -ne 0 ]
-then
-       echo "[FAIL]"
-else
-       echo "[PASS]"
-fi
-
-echo "[BEGIN] Dynamic validate a universal binary"
-
-/AppleInternal/CoreOS/codesign_tests/codesign_tests &
-pid=$!
-codesign --verify --verbose=3 $!
-
-if [ $? -ne 0 ]
-then
-       echo "[FAIL]"
-else
-       echo "[PASS]"
-fi
-
-echo "[BEGIN] Dynamic validate a universal binary, 32 bit slice"
-
-arch -i386 /AppleInternal/CoreOS/codesign_tests/codesign_tests &
-pid=$!
-codesign --verify --verbose=3 $!
-
-if [ $? -ne 0 ]
-then
-       echo "[FAIL]"
-else
-       echo "[PASS]"
-fi
-
-# Will exit with status of last command.
-
-exit $?