mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Use printf not echo, from Koichi Murase.
This commit is contained in:
@ -16,7 +16,7 @@ do_test() {
|
|||||||
$TMUX -f/dev/null new -d "
|
$TMUX -f/dev/null new -d "
|
||||||
printf '$1'
|
printf '$1'
|
||||||
$TMUX capturep -peS0 -E1 >$TMP"
|
$TMUX capturep -peS0 -E1 >$TMP"
|
||||||
echo $2 > $TMP2
|
printf "$2\n" > $TMP2
|
||||||
sleep 1
|
sleep 1
|
||||||
cmp $TMP $TMP2 || exit 1
|
cmp $TMP $TMP2 || exit 1
|
||||||
return 0
|
return 0
|
||||||
|
Reference in New Issue
Block a user