~jgonzalezdr/lightdm/test_lock_after_vt_switch

« back to all changes in this revision

Viewing changes to tests/src/test-runner.c

  • Committer: Robert Ancell
  • Date: 2014-11-09 23:49:47 UTC
  • Revision ID: robert.ancell@canonical.com-20141109234947-t9vrv6g3p5tq3fry
Correctly mock /run in tests so Mir tests don't collide with system files

Show diffs side-by-side

added added

removed removed

Lines of Context:
2535
2535
 
2536
2536
    /* Set up a skeleton file system */
2537
2537
    g_mkdir_with_parents (g_strdup_printf ("%s/etc", temp_dir), 0755);
 
2538
    g_mkdir_with_parents (g_strdup_printf ("%s/run", temp_dir), 0755);
2538
2539
    g_mkdir_with_parents (g_strdup_printf ("%s/usr/share", temp_dir), 0755);
2539
2540
    g_mkdir_with_parents (g_strdup_printf ("%s/usr/share/lightdm/sessions", temp_dir), 0755);
2540
2541
    g_mkdir_with_parents (g_strdup_printf ("%s/usr/share/lightdm/remote-sessions", temp_dir), 0755);