mirror of
https://github.com/tmux/tmux.git
synced 2025-04-11 19:48:47 +00:00
Add test for -x and -y too.
This commit is contained in:
parent
eb1f362687
commit
1e1e0f1fbb
@ -1,7 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# 947
|
# 947
|
||||||
# size in control mode should change after refresh-client -C
|
# size in control mode should change after refresh-client -C, and -x and -y
|
||||||
|
# should work without -d for control clients
|
||||||
|
|
||||||
PATH=/bin:/usr/bin
|
PATH=/bin:/usr/bin
|
||||||
TERM=screen
|
TERM=screen
|
||||||
@ -36,4 +37,13 @@ grep ^: $TMP >$OUT
|
|||||||
printf ":80 24\n:80 24\n"|cmp -s $OUT || exit 1
|
printf ":80 24\n:80 24\n"|cmp -s $OUT || exit 1
|
||||||
$TMUX kill-server 2>/dev/null
|
$TMUX kill-server 2>/dev/null
|
||||||
|
|
||||||
|
cat <<EOF|$TMUX -C new -x 100 -y 50 >$TMP
|
||||||
|
ls -F':#{session_width} #{session_height}'
|
||||||
|
refresh -C 80,24
|
||||||
|
ls -F':#{session_width} #{session_height}'
|
||||||
|
EOF
|
||||||
|
grep ^: $TMP >$OUT
|
||||||
|
printf ":100 50\n:80 24\n"|cmp -s $OUT || exit 1
|
||||||
|
$TMUX kill-server 2>/dev/null
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user