Menu

#12 test failure with make test

Closed
nobody
None
Medium
Defect
2011-12-13
2011-02-14
Anonymous
No

Originally created by: grshiplett

What steps will reproduce the problem?
1. make test
2. result:
Testing FAILED for:  files
make[1]: *** [all] Error 1
make[1]: Leaving directory `/cygdrive/i/objecticon-2.5/test'
make: *** [test] Error 2

What is the expected output? What do you see instead?
success

What version of the product are you using? On what operating system?
2.5
What C compiler are you using, and what version?
cygwin gcc

Please provide any additional information below.

Discussion

  • Anonymous

    Anonymous - 2011-02-14

    Originally posted by: grshiplett

    $ diff files.out files.std
    30c30,41
    < Operation not permitted (errno=1)
    ---
    > 3.testfile -v- testfile2b: yes
    > 4.testfile -v- testfile2: yes
    > 5.testfile -v- testfile2c: yes
    > readlink: "testfile2"
    > 6.testfile -v- testfile2d: yes
    > Appended: yes
    > 1.Access dir: yes
    > 2.Access dir: no
    > Truncated: yes
    > Unique name: testfile_1
    > test3:ok
    > ok

     
  • Anonymous

    Anonymous - 2011-02-14

    Originally posted by: r.parl...@gmail.com

    Thanks for the report.  This seems to be failing on the call to Files.hardlink (see line 63 of the files.icn test program).  This function just calls the unix link() function, which in this case is failing with errno set to 1.

    Perhaps you could try running the "ln" command in the test directory to see whether hard links can be created on your system.

    This web page also seems to suggest that FAT32 file systems may be a problem for hard links on cygwin.

    http://old.nabble.com/ln-command-in-Cygwin-(hard-links)-td27772122.html

     
  • Anonymous

    Anonymous - 2011-02-14

    Originally posted by: r.parl...@gmail.com

    (No comment was entered for this change.)

    Status: Accepted

     
  • Anonymous

    Anonymous - 2011-12-13

    Originally posted by: r.parl...@gmail.com

    I assume this resolved itself, so I'll close it.

    Status: Closed

     

Log in to post a comment.