Ticket Change Details
Not logged in
Overview

Artifact ID: 478ba649d649a3889a0af08b436b5e1ed0493e7f80985d5cf9f606afde38de0d
Ticket: 538ba1e6158d182fcd94dd30efb98a12b831ff29
Test Failure - exec-19.1 - On MacOS
User & Date: hypnotoad 2017-11-07 17:37:49
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Building a fresh checkout of [84de05583b0631640bcb0f697345f4743c74da0b] on MacOS High Sierra using Xcode command line tools and running "make test" produces the following failed test:
    
    ==== exec-19.1 exec >> uses O_APPEND FAILED
    ==== Contents of test case:
    
        # Note that we have to allow for the current contents of the temporary
        # file, which is why the result is 14 and not 12
        exec /bin/sh -c  {for a in 1 2 3; do sleep 1; echo $a; done} >>$tmpfile &
        exec /bin/sh -c  {for a in 4 5 6; do sleep 1; echo $a >&2; done} 2>>$tmpfile &
        exec /bin/sh -c  {for a in a b c; do sleep 1; echo $a; done} >>$tmpfile &
        exec /bin/sh -c  {for a in d e f; do sleep 1; echo $a >&2; done} 2>>$tmpfile &
        # The above four shell invokations take about 3 seconds to finish, so allow
        # 5s (in case the machine is busy)
        after 5000
        # Check that no bytes have got lost through mixups with overlapping
        # appends, which is only guaranteed to work when we set O_APPEND on the
        # file descriptor in the [exec >>...]
        file size $tmpfile
    
    ---- Result was:
    24
    ---- Result should have been (exact matching):
    26
    ==== exec-19.1 FAILED
    
  5. foundin changed to: "8,7"
  6. is_private changed to: "0"
  7. login: "hypnotoad"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "5846a328c39e4967aaeb56d4e03d3e783e2dd1b8"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "hypnotoad"
  14. subsystem changed to: "- New Builtin Commands"
  15. title changed to: "Test Failure - exec-19.1 - On MacOS"
  16. type changed to: "Bug"