Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure the test suite runs from linked directory. #8

Open
voxik opened this issue Jun 23, 2020 · 0 comments
Open

Make sure the test suite runs from linked directory. #8

voxik opened this issue Jun 23, 2020 · 0 comments

Comments

@voxik
Copy link
Owner

voxik commented Jun 23, 2020

  1) ABRT handles exception in 'abrt.rb' with RubyGems disabled
     Failure/Error:
       expect { system "ruby --disable-gems #{abrt_rb}" }
         .to output(/\A\Z/).to_stdout_from_any_process
         .and output(output_message_pattern).to_stderr_from_any_process
     
       expected block to output /\A\/builddir\/abrt-0.4.0\/spec\/..\/lib\/abrt.rb:\d+:in `<main>': can't modify frozen Array(: \[1, 2, 3\])? \((FrozenError|RuntimeError)\)\n\Z/ to stderr, but output "/usr/bin/ruby-mri: No such file or directory -- /builddir/abrt-0.4.0/spec/../lib/abrt.rb (LoadError)\n"
     # ./spec/abrt_spec.rb:9:in `block (3 levels) in <top (required)>'

  2) ABRT handles exception in 'abrt.rb' with RubyGems enabled
     Failure/Error:
       expect { system "ruby --disable-gems -rrubygems #{abrt_rb}" }
         .to output(/\A\Z/).to_stdout_from_any_process
         .and output(output_message_pattern).to_stderr_from_any_process
     
       expected block to output /\A\/builddir\/abrt-0.4.0\/spec\/..\/lib\/abrt.rb:\d+:in `<main>': can't modify frozen Array(: \[1, 2, 3\])? \((FrozenError|RuntimeError)\)\n\Z/ to stderr, but output "/usr/bin/ruby-mri: No such file or directory -- /builddir/abrt-0.4.0/spec/../lib/abrt.rb (LoadError)\n"
     # ./spec/abrt_spec.rb:15:in `block (3 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant