Skip to content

Commit

Permalink
Run without /usr/sbin/yast
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner committed Oct 16, 2020
1 parent 79c25ff commit 55a3d2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/libyui/menu_hotkeys_1177760.test
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ MYDIR=$(dirname "$0")
BUG=1177760
BASE=menu_hotkeys_$BUG

tmux_new_session "/usr/sbin/yast /usr/share/doc/packages/yast2-ycp-ui-bindings/examples/MenuBar1.rb" || exit
tmux_new_session "${MYDIR}/yast_ncurses /usr/share/doc/packages/yast2-ycp-ui-bindings/examples/MenuBar1.rb" || exit
trap tmux_cleanup EXIT

tmux_await "File.*Edit.*View" || exit
Expand Down
5 changes: 5 additions & 0 deletions tests/libyui/yast_ncurses
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#! /usr/bin/env ruby
require_relative "../test_helper"
require "yast"
Yast.ui_component = "ncurses"
load ARGV[0]

0 comments on commit 55a3d2b

Please sign in to comment.