|
@@ -25,7 +25,7 @@ if not IS_WINDOWS:
|
|
|
detach('/bin/boo', ['a', 'b', 'c'], logfile='/var/log',
|
|
|
pidfile='/var/pid')
|
|
|
detached.assert_called_with(
|
|
|
- '/var/log', '/var/pid', None, None, 0, None, False,
|
|
|
+ '/var/log', '/var/pid', None, None, None, None, False,
|
|
|
after_forkers=False,
|
|
|
)
|
|
|
execv.assert_called_with('/bin/boo', ['/bin/boo', 'a', 'b', 'c'])
|
|
@@ -86,7 +86,7 @@ class test_Command(AppCase):
|
|
|
self.assertTrue(exit.called)
|
|
|
detach.assert_called_with(
|
|
|
path=x.execv_path, uid=None, gid=None,
|
|
|
- umask=0, fake=False, logfile='/var/log', pidfile='celeryd.pid',
|
|
|
+ umask=None, fake=False, logfile='/var/log', pidfile='celeryd.pid',
|
|
|
working_directory=None,
|
|
|
argv=x.execv_argv + [
|
|
|
'-c', '1', '-lDEBUG',
|