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
@@ -109,7 +109,7 @@ mosh_server()
# Set up environment
if [ -z "$srcdir" ]; then
srcdir=$PWD
export srcdir=$PWD
else
srcdir="$(cd "$srcdir" && pwd)"
if [ $? -ne 0 ]; then