Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Apr 7, 2017
1 parent 9d9e4e3 commit e485038
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion scripts/yast2
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,10 @@ if [ -n "$DISPLAY" ]; then
select_gui_frontend
fi

if [ -n "$TESTING_YAST2" ]; then
SELECTED_GUI="UI"
fi

if [ "$SELECTED_GUI" = "ncurses" ]; then
if check_ncurses ; then
TTY=$(/usr/bin/tty)
Expand Down Expand Up @@ -393,7 +397,8 @@ elif [ "$SELECTED_GUI" = "qt" ]; then
if [ $module == "menu" ]; then
select_control_center
fi

elif [ "$SELECTED_GUI" = "UI" ]; then
echo "Testing UI only"
else
echo >&2 "Internal error, unhandled '$SELECTED_GUI'"
fi
Expand Down
2 changes: 1 addition & 1 deletion test/test_y2dir/clients/args_test_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

args = Yast::WFM.Args

puts args
Yast.y2milestone args.inspect
exit 66 if args != ['abc"\'\\|;&<>! ', "second"]

0 comments on commit e485038

Please sign in to comment.