diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-10-14 09:32:03 -0400 | 
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-10-14 09:43:31 -0400 | 
| commit | 5a9688e9e78a25a42bddfc4388fb4ce3311ded74 (patch) | |
| tree | bcc1b54c3f8a7f1eab0d6b3e129f098721a41537 /tests | |
| parent | b98088f7b7cfe4b08eb39fa1b6b86210cb6c08b8 (diff) | |
| download | stasis-5a9688e9e78a25a42bddfc4388fb4ce3311ded74.tar.gz | |
Refactor directory structure
* Move core library sources into src/lib/core
* Move command-line programs into src/cli
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_multiprocessing.c | 11 | 
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/test_multiprocessing.c b/tests/test_multiprocessing.c index cd037d0..f59fa7a 100644 --- a/tests/test_multiprocessing.c +++ b/tests/test_multiprocessing.c @@ -2,9 +2,12 @@  static struct MultiProcessingPool *pool;  char *commands[] = { -        "true", -        "uname -a", -        "/bin/echo hello world", +        "sleep 1; true", +        "sleep 2; uname -a", +        "sleep 3; /bin/echo hello world", +        "sleep 4; true", +        "sleep 5; uname -a", +        "sleep 6; /bin/echo hello world",  };  void test_mp_pool_init() { @@ -120,4 +123,4 @@ int main(int argc, char *argv[]) {      };      STASIS_TEST_RUN(tests);      STASIS_TEST_END_MAIN(); -}
\ No newline at end of file +}  | 
