Changeset 94388 in webkit


Ignore:
Timestamp:
Sep 2, 2011 12:32:26 AM (13 years ago)
Author:
Philippe Normand
Message:

[GTK] run-gtk-tests leaves a zombie Xvfb process
https://bugs.webkit.org/show_bug.cgi?id=67389

Reviewed by Martin Robinson.

  • Scripts/run-gtk-tests: Properly close STDIN and STDERR on the child process instead of doing shell redirection.
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r94386 r94388  
     12011-09-02  Philippe Normand  <pnormand@igalia.com>
     2
     3        [GTK] run-gtk-tests leaves a zombie Xvfb process
     4        https://bugs.webkit.org/show_bug.cgi?id=67389
     5
     6        Reviewed by Martin Robinson.
     7
     8        * Scripts/run-gtk-tests: Properly close STDIN and STDERR on the
     9        child process instead of doing shell redirection.
     10
    1112011-09-01  Mark Rowe  <mrowe@apple.com>
    212
  • trunk/Tools/Scripts/run-gtk-tests

    r90481 r94388  
    3636my $pid = fork();
    3737if ($pid == 0) {
    38     exec("Xvfb :31 -screen 0 800x600x24 -nolisten tcp > /dev/null 2>&1");
     38    close(STDOUT) or die "Can't close STDOUT: $!\n";
     39    close(STDERR) or die "Can't close STDERR: $!\n";
     40    exec("Xvfb :31 -screen 0 800x600x24 -nolisten tcp");
    3941    exit 1;
    4042} elsif ($pid == -1) {
Note: See TracChangeset for help on using the changeset viewer.