~vorlon/ubuntu/raring/upstart/lp.1199778

« back to all changes in this revision

Viewing changes to init/tests/test_job_process.c

  • Committer: Steve Langasek
  • Date: 2013-11-07 03:06:51 UTC
  • Revision ID: steve.langasek@canonical.com-20131107030651-f1jzeyi7ifvvw1h8
Attempt to cherry-pick fixes for bug #1199778 to raring; something is still
missing though, the test suite segfaults on one of the json loads.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
#include "blocked.h"
61
61
#include "conf.h"
62
62
#include "errors.h"
63
 
#include "test_util.h"
 
63
#include "test_util_common.h"
64
64
 
65
65
#define EXPECTED_JOB_LOGDIR       "/var/log/upstart"
66
66
#define TEST_SHELL                "/bin/sh"
174
174
        return 1;
175
175
}
176
176
 
177
 
static int
178
 
strcmp_compar (const void *a, const void *b)
179
 
{
180
 
        return strcmp(*(char * const *)a, *(char * const *)b);
181
 
}
182
 
 
183
177
static void
184
178
child (enum child_tests  test,
185
179
       const char       *filename)