* auto-disable xattr features when in test mode

This commit is contained in:
Reinhard Pointner 2013-02-15 09:38:30 +00:00
parent fa55b68360
commit 1e06994a59
1 changed files with 5 additions and 1 deletions

View File

@ -119,7 +119,11 @@ public class Main {
if (args.unixfs) { if (args.unixfs) {
System.setProperty("unixfs", "true"); System.setProperty("unixfs", "true");
} }
if (args.disableAnalytics || args.action.equalsIgnoreCase("test")) { if (args.disableAnalytics) {
System.setProperty("application.analytics", "false");
}
if (args.action.equalsIgnoreCase("test")) {
System.setProperty("useExtendedFileAttributes", "false");
System.setProperty("application.analytics", "false"); System.setProperty("application.analytics", "false");
} }