~jamesodhunt/upstart/foo

« back to all changes in this revision

Viewing changes to init/tests/test_blocked.c

Merge of lp:~jamesodhunt/upstart/upstream-session-support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
         * in a list.
47
47
         */
48
48
        TEST_FEATURE ("with job");
49
 
        class = job_class_new (NULL, "test");
 
49
        class = job_class_new (NULL, "test", NULL);
50
50
        job = job_new (class, "");
51
51
 
52
52
        TEST_ALLOC_FAIL {
364
364
main (int   argc,
365
365
      char *argv[])
366
366
{
 
367
        /* run tests in legacy (pre-session support) mode */
 
368
        setenv ("UPSTART_NO_SESSIONS", "1", 1);
 
369
 
367
370
        test_new ();
368
371
 
369
372
        return 0;