diff options
-rwxr-xr-x | UnitTesting/RunIPhoneUnitTest.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/UnitTesting/RunIPhoneUnitTest.sh b/UnitTesting/RunIPhoneUnitTest.sh index ff3e9ca..06e7e54 100755 --- a/UnitTesting/RunIPhoneUnitTest.sh +++ b/UnitTesting/RunIPhoneUnitTest.sh @@ -105,12 +105,13 @@ if [ "$PLATFORM_NAME" == "iphonesimulator" ]; then export NSZombieEnabled=YES fi - # Cleanup user home and documents directory + # Cleanup user home directory if [ -d "$CFFIXED_USER_HOME" ]; then rm -rf "$CFFIXED_USER_HOME" fi mkdir "$CFFIXED_USER_HOME" mkdir "$CFFIXED_USER_HOME/Documents" + mkdir -p "$CFFIXED_USER_HOME/Library/Caches" # 6251475 iPhone simulator leaks @ CFHTTPCookieStore shutdown if # CFFIXED_USER_HOME empty |