blob: 76e641a9a8ec8f5b785e2ec1c1f5c8bdc9491ee4 [file] [log] [blame]
# Copyright 2017 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# old
export DIALOG_OK=0
# new
# skip
export DIALOG_CANCEL=125
# abort
export DIALOG_ESC=128
What is current behavior?
[old]: current behavior is as same as old version
[new]: current behavior is as same as new version
[skip]: this version is neither old nor new, or unable to tell temporarily.
If you want to abort bisection, press [Esc] key.
# show dialog on tty, because bisector will capture and hide stdout and stderr.
export DIALOG_TTY=1
dialog --ok-label old --extra-button --extra-label new --cancel-label skip --yesno "$TEXT" 20 60