Ticket #5669: 0001-Fix-test-5558-for-Mac-OS-X-10.5.patch

File 0001-Fix-test-5558-for-Mac-OS-X-10.5.patch, 937 bytes (added by thorkilnaur, 4 years ago)

Patch to fix test 5558 for Mac OS X 10.5

  • tests/concurrent/should_run/all.T

    From bf451177e499c742750fd26a7cb3637ced3a8dc1 Mon Sep 17 00:00:00 2001
    From: Thorkil Naur <[email protected]>
    Date: Mon, 28 Nov 2011 04:06:13 +0100
    Subject: [PATCH] Fix test 5558 for Mac OS X 10.5
    
    ---
     tests/concurrent/should_run/all.T |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/tests/concurrent/should_run/all.T b/tests/concurrent/should_run/all.T
    index 1daa7f2..2e33bd7 100644
    a b test('allowinterrupt001', normal, compile_and_run, ['']) 
    6262# try hard to provoke the error by running the test 100 times 
    6363test('5558', 
    6464     [ only_ways(['threaded2']), 
    65        cmd_wrapper(lambda c: 'for i in `seq 1 100`; do ' + c + ' || break; done') ], 
     65       cmd_wrapper(lambda c: 'for i in {1..100}; do ' + c + ' || break; done') ], 
    6666     compile_and_run, ['']) 
    6767 
    6868test('5421', normal, compile_and_run, [''])