Skip to content

Commit

Permalink
Travis debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Jul 18, 2017
1 parent 6cf667e commit 2d576f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/yast2_test.rb
Expand Up @@ -5,11 +5,13 @@
require "cheetah"

additional_y2dir = File.expand_path("../test_y2dir", __FILE__)
ENV["Y2DIR"] += ":#{additional_y2dir}"
TEST_DIR = File.expand_path("../../scripts", __FILE__)

describe "yast2 script" do
it "pass properly all arguments" do
ENV["Y2DIR"] += ":#{additional_y2dir}"
puts "DEBUG", additional_y2dir
puts "DEBUG", ENV["Y2DIR"].inspect
Cheetah.run(TEST_DIR + "/yast2", "args_test_client", 'abc"\'\\|;&<>! ', "second", env: { "TESTING_YAST2" => "1" })
end
end

0 comments on commit 2d576f2

Please sign in to comment.