~dobey/indicator-sound/test-pulseaudio-exception

« back to all changes in this revision

Viewing changes to tests/integration/main.cpp

  • Committer: Rodney Dawes
  • Date: 2017-03-27 19:11:52 UTC
  • Revision ID: rodney.dawes@canonical.com-20170327191152-rmafjh40g7lnyyg5
Fix directory mode

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
    unsetenv("LC_ALL");
48
48
    unsetenv("XDG_RUNTIME_DIR");
49
49
 
50
 
    mkdir(g_get_user_config_dir(), 0644);
51
 
    mkdir(g_get_user_data_dir(), 0644);
52
 
    mkdir(g_get_user_cache_dir(), 0644);
 
50
    mkdir(g_get_user_config_dir(), 0770);
 
51
    mkdir(g_get_user_data_dir(), 0770);
 
52
    mkdir(g_get_user_cache_dir(), 0770);
53
53
 
54
54
    QCoreApplication application(argc, argv);
55
55
    DBusMock::registerMetaTypes();