Skip to content

Instantly share code, notes, and snippets.

@Daniel-Worrall
Created December 22, 2020 02:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Daniel-Worrall/1d5ffb14fc20c82ce6755fb37aedc2ff to your computer and use it in GitHub Desktop.
Save Daniel-Worrall/1d5ffb14fc20c82ce6755fb37aedc2ff to your computer and use it in GitHub Desktop.
Failures:
1) File executable? gives false
Failure/Error: File.executable?(datapath("test_file.txt")).should be_false
Expected: false
got: true
# spec/std/file_spec.cr:138
2) File chmod changes file permissions
Failure/Error: File.info(path).permissions.should eq(normalize_permissions(0o775, directory: false))
Expected: rwxrwxr-x (0o775)
got: rwxrwxrwx (0o777)
# spec/std/file_spec.cr:349
3) File chmod changes dir permissions
Failure/Error: File.info(path).permissions.should eq(normalize_permissions(0o664, directory: true))
Expected: rw-rw-r-- (0o664)
got: rwxrwxrwx (0o777)
# spec/std/file_spec.cr:360
4) File chmod can take File::Permissions
Failure/Error: File.info(path).permissions.should eq(normalize_permissions(0o775, directory: false))
Expected: rwxrwxr-x (0o775)
got: rwxrwxrwx (0o777)
# spec/std/file_spec.cr:371
5) OpenSSL::SSL::Context changes security level
Failure/Error: context.security_level.should eq(level + 1)
Expected: 1
got: 0
# spec/std/openssl/ssl/context_spec.cr:140
6) HTTP::Server #bind_tls binds SSL server context
SSL_shutdown: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init (OpenSSL::SSL::Error)
from src/openssl/ssl/socket.cr:172:11 in 'unbuffered_close'
from src/io/buffered.cr:227:5 in 'close'
from src/http/client.cr:763:15 in 'close'
from src/http/client.cr:256:7 in 'exec'
from src/http/client.cr:406:3 in 'get:tls'
from spec/std/http/server/server_spec.cr:318:9 in '->'
from src/primitives.cr:255:3 in 'internal_run'
from src/spec/example.cr:33:16 in 'run'
from src/spec/context.cr:18:23 in 'internal_run'
from src/spec/context.cr:330:7 in 'run'
from src/spec/context.cr:18:23 in 'internal_run'
from src/spec/context.cr:330:7 in 'run'
from src/spec/context.cr:18:23 in 'internal_run'
from src/spec/context.cr:147:7 in 'run'
from src/spec/dsl.cr:274:7 in '->'
from src/primitives.cr:255:3 in 'run'
from src/crystal/main.cr:45:14 in 'main'
from src/crystal/main.cr:114:3 in 'main'
from __libc_start_main
from _start
from ???
7) OpenSSL::SSL::Context ciphers sets modern ciphers
SSL_CTX_set_cipher_list: error:1410D0B9:SSL routines:SSL_CTX_set_cipher_list:no cipher match (OpenSSL::Error)
from src/openssl/ssl/context.cr:263:5 in 'ciphers='
from src/openssl/ssl/context.cr:284:5 in 'set_modern_ciphers'
from spec/std/openssl/ssl/context_spec.cr:124:7 in '->'
from src/primitives.cr:255:3 in 'internal_run'
from src/spec/example.cr:33:16 in 'run'
from src/spec/context.cr:18:23 in 'internal_run'
from src/spec/context.cr:330:7 in 'run'
from src/spec/context.cr:18:23 in 'internal_run'
from src/spec/context.cr:330:7 in 'run'
from src/spec/context.cr:18:23 in 'internal_run'
from src/spec/context.cr:147:7 in 'run'
from src/spec/dsl.cr:274:7 in '->'
from src/primitives.cr:255:3 in 'run'
from src/crystal/main.cr:45:14 in 'main'
from src/crystal/main.cr:114:3 in 'main'
from __libc_start_main
from _start
from ???
Finished in 2:13 minutes
10285 examples, 5 failures, 2 errors, 6 pending
Failed examples:
crystal spec spec/std/file_spec.cr:137 # File executable? gives false
crystal spec spec/std/file_spec.cr:344 # File chmod changes file permissions
crystal spec spec/std/file_spec.cr:355 # File chmod changes dir permissions
crystal spec spec/std/file_spec.cr:366 # File chmod can take File::Permissions
crystal spec spec/std/openssl/ssl/context_spec.cr:136 # OpenSSL::SSL::Context changes security level
crystal spec spec/std/http/server/server_spec.cr:303 # HTTP::Server #bind_tls binds SSL server context
crystal spec spec/std/openssl/ssl/context_spec.cr:123 # OpenSSL::SSL::Context ciphers sets modern ciphers
Makefile:89: recipe for target 'std_spec' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment