spawn: Improve test coverage
commitfb0951e67aa8f650f76d6e9bddf4f93c42c57735
authorMatthias Clasen <mclasen@redhat.com>
Sun, 8 Apr 2012 14:21:50 +0000 (8 10:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 8 Apr 2012 14:24:52 +0000 (8 10:24 -0400)
tree01308b526c4785d1f3985dded9f58149ff0c67ad
parentb87e7ca7291929d405deaec23368165638255504
spawn: Improve test coverage

Add a test that excercises the script execution code.
Unfortunately, much of this code only runs in the forked
child, and therefore its execution does not get caught
by gcov.
glib/tests/echo-script [new file with mode: 0755]
glib/tests/spawn-singlethread.c