Raymond Toy pushed to branch master at cmucl / cmucl

Commits:

3 changed files:

Changes:

  • bin/run-unit-tests.sh
    ... ... @@ -41,11 +41,6 @@ done
    41 41
     # Shift out the options
    
    42 42
     shift $((OPTIND - 1))
    
    43 43
     
    
    44
    -# Create the test directory needed by the issue.45 test.
    
    45
    -rm -rf test-tmp
    
    46
    -mkdir test-tmp
    
    47
    -ln -s /bin/ls test-tmp/ls-link
    
    48
    -
    
    49 44
     # Set the timestamps on 64-bit-timestamp-2038.txt and
    
    50 45
     # 64-bit-timestamp-2106.txt, but only for OSes where we know this
    
    51 46
     # works.  (This is so we don't an annoying error message from touch
    
    ... ... @@ -56,8 +51,9 @@ ln -s /bin/ls test-tmp/ls-link
    56 51
     # tests/os.lisp.
    
    57 52
     case `uname -s` in
    
    58 53
         Linux)
    
    59
    -	touch -d "1 April 2038" tests/resources/64-bit-timestamp-2038.txt
    
    60
    -	touch -d "1 April 2106" tests/resources/64-bit-timestamp-2106.txt
    
    54
    +	# -t format is [[CC]YY]MMDDhhmm[.ss]
    
    55
    +	touch -t 203804010000 tests/resources/64-bit-timestamp-2038.txt
    
    56
    +	touch -t 210604010000 tests/resources/64-bit-timestamp-2106.txt
    
    61 57
     	;;
    
    62 58
     esac
    
    63 59
     
    

  • tests/issues.lisp
    ... ... @@ -436,7 +436,7 @@
    436 436
     (define-test issue.45
    
    437 437
       (:tag :issues)
    
    438 438
       ;; This depends on run-tests to setup the test directory correctly!
    
    439
    -  (let* ((test-dir #p"test-tmp/")
    
    439
    +  (let* ((test-dir #p"tests/test-run-prog/")
    
    440 440
     	 (test-dir-name (namestring test-dir)))
    
    441 441
         (flet ((do-test (program)
    
    442 442
     	     (with-output-to-string (s)
    

  • tests/test-run-prog/ls-link
    1
    +#! /bin/sh
    
    2
    +exec /bin/ls "$@"