~jamesodhunt/upstart/fix-test_state-test

« back to all changes in this revision

Viewing changes to init/tests/test_job_process.c

  • Committer: Dmitrijs Ledkovs
  • Date: 2013-11-11 10:13:08 UTC
  • Revision ID: dmitrijs.ledkovs@canonical.com-20131111101308-0x1q3q12mkjf5k7r
Introduce TAP output, mark failing tests as TODO, unset environment
variables that cause test suite failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9371
9371
         */
9372
9372
        argv0 = argv[0];
9373
9373
        if (argv0[0] != '/') {
 
9374
#ifdef TEST_PLAN
 
9375
                TEST_PLAN(153);
 
9376
#endif
9374
9377
                char *path = nih_alloc (NULL, PATH_MAX);
9375
9378
 
9376
9379
                assert (getcwd (path, PATH_MAX));