mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 14:27:01 +08:00
ci: test ask_for_yn
This commit is contained in:
parent
8dfc524385
commit
f75b02df17
|
@ -23,9 +23,13 @@ test ~ -ef "$(pwd)"
|
||||||
dogo
|
dogo
|
||||||
doll
|
doll
|
||||||
dfs cd
|
dfs cd
|
||||||
./tools/test-getopts.sh
|
tools/test-getopts.sh
|
||||||
tools/common.sh get_os_type
|
tools/common.sh get_os_name
|
||||||
tools/common.sh get_linux_dist
|
test $(echo y | tools/common.sh ask_for_yN "test") = "1"
|
||||||
|
test $(echo n | tools/common.sh ask_for_yN "test") = "0"
|
||||||
|
test $(echo | tools/common.sh ask_for_yN "test") = "0"
|
||||||
|
test $(echo | tools/common.sh ask_for_Yn "test") = "1"
|
||||||
|
test $(DFS_QUIET=1 tools/common.sh ask_for_Yn "test") = "1"
|
||||||
|
|
||||||
# check alias
|
# check alias
|
||||||
alias p114
|
alias p114
|
||||||
|
|
Loading…
Reference in New Issue
Block a user