diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2013-07-11 17:00:19 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2013-07-11 17:00:19 +0000 |
commit | 04a540b219cace3f39c7130daf2014955d79224a (patch) | |
tree | 9ce7284db678aa7ef3c089996a97790e39f5b1a3 /Foundation/GTMScriptRunnerTest.m | |
parent | 945e1a3f1b580e2e090c61bc7144403370cb0fe3 (diff) |
Fix for GTMScriptRunner: run:standardError: deadlocks with full error pipe -
(https://code.google.com/p/google-toolbox-for-mac/issues/detail?id=25)
by applying patch from dlreese
(https://code.google.com/p/google-toolbox-for-mac/issues/detail?id=25#c3)
DELTA=150 (91 added, 58 deleted, 1 changed)
Diffstat (limited to 'Foundation/GTMScriptRunnerTest.m')
-rw-r--r-- | Foundation/GTMScriptRunnerTest.m | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Foundation/GTMScriptRunnerTest.m b/Foundation/GTMScriptRunnerTest.m index f13fe6c..07928c2 100644 --- a/Foundation/GTMScriptRunnerTest.m +++ b/Foundation/GTMScriptRunnerTest.m @@ -407,24 +407,19 @@ output = [sr run:cmd standardError:&err]; STAssertEquals([output length], (NSUInteger)(512 + 512*200), nil); STAssertEquals([err length], (NSUInteger)512, nil); -#if 0 - // Not fixed yet + cmd = [NSString stringWithFormat:GENERATOR_FORMAT_STR, @"'b1', 'e200'"]; STAssertNotNil(cmd, nil); output = [sr run:cmd standardError:&err]; STAssertEquals([output length], (NSUInteger)512, nil); STAssertEquals([err length], (NSUInteger)(512 + 512*200), nil); -#endif // Now send a large amount down both to make sure we spool it all in. -#if 0 - // Not fixed yet cmd = [NSString stringWithFormat:GENERATOR_FORMAT_STR, @"'b200'"]; STAssertNotNil(cmd, nil); output = [sr run:cmd standardError:&err]; STAssertEquals([output length], (NSUInteger)(512*200), nil); STAssertEquals([err length], (NSUInteger)(512*200), nil); -#endif } |