dlowe-net / local-time

Time manipulation library for Common Lisp
Other
102 stars 43 forks source link

On Windows 10 a file creation bug during testing. #100

Closed tomrake closed 3 years ago

tomrake commented 4 years ago
Error opening #P"C:/tmp/local-time-test"
   [Condition of type SB-INT:SIMPLE-FILE-ERROR]

How I got this;

TEST> (ql:quickload :local-time/test)
To load "local-time/test":
  Load 1 ASDF system:
    local-time/test
; Loading "local-time/test"
............
(:LOCAL-TIME/TEST)
TEST> (hu.dwim.stefil:funcall-test-with-feedback-message 'test)
...E............................................................................
................................................................................

REMOVING_ A WHOLE LOT OF SUCCESS LINES

................................................................................
..................
The result of LOCAL-TIME.TEST::TEST is:

  #<test-run: 56 tests, 217458 assertions, 1 failure in 9.734 sec (0 failed assertions, 1 error, none expected)>

For more details run it from the REPL and use the customized Slime inspector
to inspect the results (ASDF eats up the return values).
#<test-run: 56 tests, 217458 assertions, 1 failure in 9.734 sec (0 failed assertions, 1 error, none expected)>
TEST> (run-failed-tests)
WARNING:
   Re-running failed tests without considering their dynamic environment, which may affect their behaviour!
E

I will offer a pull request on how I fixed this.