Bug 154019

Summary: [patch] lang/sbcl: wrong errno for mkdir/rmdir / in sb-posix tests
Product: Ports & Packages Reporter: swell.k <swell.k>
Component: Individual Port(s)Assignee: Stanislav Sedov <stas>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
a.diff none

Description swell.k 2011-01-15 06:10:10 UTC

How-To-Repeat: $ mkdir /
mkdir: /: Is a directory
$ rmdir /
rmdir: /: Is a directory

$ make
[...]
; /usr/ports/lang/sbcl/work/sbcl-1.0.43/contrib/sb-posix/ASDF-TMP-posix-tests.fasl written
; compilation finished in 0:00:00.034
Doing 69 pending tests of 69 tests total.
 SB-POSIX-TESTS::CHDIR.1 SB-POSIX-TESTS::CHDIR.2 SB-POSIX-TESTS::CHDIR.3
 SB-POSIX-TESTS::CHDIR.4 SB-POSIX-TESTS::CHDIR.5 SB-POSIX-TESTS::CHDIR.6
 SB-POSIX-TESTS::CHDIR.7 SB-POSIX-TESTS::CHDIR.8 SB-POSIX-TESTS::CHDIR.ERROR.1
 SB-POSIX-TESTS::CHDIR.ERROR.2 SB-POSIX-TESTS::MKDIR.1 SB-POSIX-TESTS::MKDIR.2
 SB-POSIX-TESTS::MKDIR.ERROR.1
Test SB-POSIX-TESTS::MKDIR.ERROR.2 failed
Form: (HANDLER-CASE (SB-POSIX:MKDIR "/" 0)
                    (SB-POSIX:SYSCALL-ERROR (SB-POSIX-TESTS::C)
                                            (SB-POSIX:SYSCALL-ERRNO
                                             SB-POSIX-TESTS::C)))
Expected value: 17
Actual value: 21.
 SB-POSIX-TESTS::MKDIR.ERROR.3 SB-POSIX-TESTS::RMDIR.1 SB-POSIX-TESTS::RMDIR.2
 SB-POSIX-TESTS::RMDIR.ERROR.1 SB-POSIX-TESTS::RMDIR.ERROR.2
Test SB-POSIX-TESTS::RMDIR.ERROR.3 failed
Form: (HANDLER-CASE (SB-POSIX:RMDIR "/")
                    (SB-POSIX:SYSCALL-ERROR (SB-POSIX-TESTS::C)
                                            (SB-POSIX:SYSCALL-ERRNO
                                             SB-POSIX-TESTS::C)))
Expected value: 16
Actual value: 21.
 SB-POSIX-TESTS::RMDIR.ERROR.4 SB-POSIX-TESTS::RMDIR.ERROR.5
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-01-15 06:10:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stas

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-07-15 01:07:39 UTC
stas        2011-07-15 00:07:26 UTC

  FreeBSD ports repository

  Added files:
    lang/sbcl/files      patch-contrib_sb-posix_posix-tests.lisp 
  Log:
  - Fix errno expectation in the rmdir.3 test
    (freebsd returns the same error darwin does).
  
  PR:             ports/154019 (based on)
  Submitted by:   Anonymous <swell.k@gmail.com>
  
  Revision  Changes    Path
  1.1       +18 -0     ports/lang/sbcl/files/patch-contrib_sb-posix_posix-tests.lisp (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Stanislav Sedov freebsd_committer freebsd_triage 2011-07-15 01:07:42 UTC
State Changed
From-To: open->closed

Committed. Thanks!