Skip to content

Instantly share code, notes, and snippets.

@enebo

enebo/eeeor.txt Secret

Created November 23, 2022 22:41
Show Gist options
  • Save enebo/ec06fa8b881e049628f02d7c9f21349e to your computer and use it in GitHub Desktop.
Save enebo/ec06fa8b881e049628f02d7c9f21349e to your computer and use it in GitHub Desktop.
mri26 -S bundle exec rake test
mkdir -p lib/2.6.9/x86_64-linux/cgi
mkdir -p tmp/x86_64-linux/cgi/escape/2.6.9/cgi
cd tmp/x86_64-linux/cgi/escape/2.6.9
/home/enebo/.rvm/rubies/ruby-2.6.9/bin/ruby -I. -r.rake-compiler-siteconf.rb ../../../../../ext/cgi/escape/extconf.rb
creating Makefile
cd -
cd tmp/x86_64-linux/cgi/escape/2.6.9
/bin/gmake
compiling ../../../../../ext/cgi/escape/escape.c
../../../../../ext/cgi/escape/escape.c: In function ‘optimized_escape_html’:
../../../../../ext/cgi/escape/escape.c:66:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
66 | VALUE escaped;
| ^~~~~
At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
linking shared-object cgi/escape.so
cp escape.so cgi/escape.so
cd -
mkdir -p tmp/x86_64-linux/stage/lib/2.6.9/x86_64-linux/cgi
/bin/gmake install target_prefix=
/bin/install -c -m 0755 escape.so /home/enebo/work/gems/cgi/lib/2.6.9/x86_64-linux/cgi
cp tmp/x86_64-linux/cgi/escape/2.6.9/cgi/escape.so tmp/x86_64-linux/stage/lib/2.6.9/x86_64-linux/cgi/escape.so
Loaded suite /home/enebo/.rvm/gems/ruby-2.6.9/gems/rake-13.0.6/lib/rake/rake_test_loader
Started
.......E
====================================================================================
Error: test_cgi_cookie_new_with_domain(CGICookieTest): TypeError: hash key "name" is not a Symbol
/home/enebo/work/gems/cgi/test/cgi/test_cgi_cookie.rb:65:in `test_cgi_cookie_new_with_domain'
62:
63: def test_cgi_cookie_new_with_domain
64: h = {'name'=>'name1', 'value'=>'value1'}
=> 65: cookie = CGI::Cookie.new('domain'=>'a.example.com', **h)
66: assert_equal('a.example.com', cookie.domain)
67:
68: cookie = CGI::Cookie.new('domain'=>'1.example.com', **h)
====================================================================================
....................................................................................
....................................................................................
....................................................................................
....................................................................................
....................................................................................
.........................
Finished in 0.561131965 seconds.
------------------------------------------------------------------------------------
453 tests, 989 assertions, 0 failures, 1 errors, 0 pendings, 0 omissions, 0 notifications
99.7792% passed
------------------------------------------------------------------------------------
807.30 tests/s, 1762.51 assertions/s
rake aborted!
Command failed with status (1)
/home/enebo/.rvm/gems/ruby-2.6.9/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/home/enebo/.rvm/gems/ruby-2.6.9/bin/ruby_executable_hooks:22:in `eval'
/home/enebo/.rvm/gems/ruby-2.6.9/bin/ruby_executable_hooks:22:in `<main>'
Tasks: TOP => test
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment