diff --git a/.travis.yml b/.travis.yml
index 73733ec72302e92450a77633a33d2515c8b7d18d..50f1eff3a19caa74c233072cc4f464e7e0ceb160 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,7 +4,7 @@ compiler:
 
 script: 
   - autoconf && autoheader && ./configure $BUNDLEDLIBTOM CFLAGS="-O2 -Wall -Wno-pointer-sign" --prefix=$HOME/inst 
-  - [ "$NOWRITEV" == 1 ] && sed -i s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h
+  - test "$NOWRITEV" && sed -i s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h
   - make install
   - ~/inst/bin/dropbearkey -t rsa -f testrsa
   - ~/inst/bin/dropbearkey -t dss -f testdss