~ubuntu-branches/ubuntu/intrepid/upstart/intrepid

« back to all changes in this revision

Viewing changes to init/tests/test_event.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2007-10-28 10:51:59 UTC
  • mfrom: (1.1.10 upstream) (16.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20071028105159-x9pypymnb3kigxo7
Tags: 0.3.9-1
* New upstream release:
  - many bug fixes.

* Update reference to "edgy" in README.Debian to "hardy".  LP: #140037.

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
{
213
213
        EventEmission  *emission;
214
214
        char          **args, **env;
215
 
        uint32_t        last_id = -1;
 
215
        unsigned int    last_id = -1;
216
216
 
217
217
        /* Check that we can request an event emission; the structure should
218
218
         * be allocated with nih_alloc(), placed in a list and all of the
261
261
test_emit_find_by_id (void)
262
262
{
263
263
        EventEmission *emission, *ret;
264
 
        uint32_t       id;
 
264
        unsigned int   id;
265
265
 
266
266
        TEST_FUNCTION ("event_emit_find_by_id");
267
267
 
333
333
check_event (void               *data,
334
334
             pid_t               pid,
335
335
             UpstartMessageType  type,
336
 
             uint32_t            id,
 
336
             unsigned int        id,
337
337
             const char         *name,
338
338
             char * const       *args,
339
339
             char * const       *env)
352
352
check_event_finished (void               *data,
353
353
                      pid_t               pid,
354
354
                      UpstartMessageType  type,
355
 
                      uint32_t            id,
 
355
                      unsigned int        id,
356
356
                      int                 failed,
357
357
                      const char         *name,
358
358
                      char * const       *args,