aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting/RunIPhoneUnitTest.sh
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-02-12 17:03:49 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-02-12 17:03:49 +0000
commitbcedc8dfede2e8d56ad68c6b52c225840c67d22b (patch)
tree5a36b2b72af7450763bbdc000efd4fed2e4a00d9 /UnitTesting/RunIPhoneUnitTest.sh
parent782d59ac084205f1ca998a65ca0d46b47db6b627 (diff)
[Author: gianno]
GTM: Create Libray/Caches directory (NSCachesDirectory) when running iphone unit tests. R=altse DELTA=2 (1 added, 0 deleted, 1 changed)
Diffstat (limited to 'UnitTesting/RunIPhoneUnitTest.sh')
-rwxr-xr-xUnitTesting/RunIPhoneUnitTest.sh3
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