window-resize.test: use a known-present file

/etc/services may not be present in a Debian sid schroot.
Also make $srcdir available to test scripts.
This commit is contained in:
John Hood
2017-03-01 22:46:21 -05:00
parent 1cad191b10
commit 2e816205f7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ tmux_commands()
# An interactive shell is waiting for us in the mosh session.
# Start a full screen application that will redraw on window
# resize.
printf "send-keys 'less /etc/services' 0x0d\n"
printf "send-keys 'less \"%s\"' 0x0d\n" "${srcdir}/e2e-test"
sleep 1
# we control the horizontal...
tmux_resize_commands v D U