commit 9511c434329645cc44ae2ca37efbdd0b757d6377
parent a0b3c1f6ac7c4737a3b745f26ed3ae7a57e2ea33
Author: Dan Stillman <dstillman@zotero.org>
Date: Sun, 12 Apr 2015 20:28:50 -0400
Create empty data directory in test profile
This prevents the data directory migration prompt from showing up if
there's an existing data directory inside the Standalone profile.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/test/runtests.sh b/test/runtests.sh
@@ -70,6 +70,9 @@ echo "$ZOTERO_UNIT_PATH" > "$PROFILE/extensions/zotero-unit@zotero.org"
makePath ZOTERO_PATH "`dirname "$CWD"`"
echo "$ZOTERO_PATH" > "$PROFILE/extensions/zotero@chnm.gmu.edu"
+# Create data directory
+mkdir "$PROFILE/zotero"
+
cat <<EOF > "$PROFILE/prefs.js"
user_pref("extensions.autoDisableScopes", 0);
user_pref("extensions.zotero.debug.log", $DEBUG);