]>
git.saurik.com Git - apple/security.git/blob - Security/codesign_tests/validation.sh
3 echo "[TEST] codesign dynamic validation"
5 echo "[BEGIN] Dynamic validate pid 1"
6 codesign
--verify --verbose=3 1
15 echo "[BEGIN] Dynamic validate a universal binary"
17 /AppleInternal
/CoreOS
/codesign_tests
/codesign_tests
&
19 codesign
--verify --verbose=3 $
!
28 echo "[BEGIN] Dynamic validate a universal binary, 32 bit slice"
30 arch
-i386 /AppleInternal
/CoreOS
/codesign_tests
/codesign_tests
&
32 codesign
--verify --verbose=3 $
!
41 # Will exit with status of last command.