]> diplodocus.org Git - nmh/blobdiff - test/format/test-myhost
Try including termcap.h before curses.h to see if that solves
[nmh] / test / format / test-myhost
index 635f35f43e6f9acd22f205f9814ee3383114ff10..2290f2a7c5ceb2df3e4e430bf935ae0d8096afa0 100755 (executable)
@@ -13,12 +13,12 @@ fi
 
 setup_test
 
-host=`${MH_OBJ_DIR}/test/getfqdn`
+host=`${MH_OBJ_DIR}/test/getcanon`
 run_test "${MH_LIB_DIR}/ap -format %(myhost) ignore" "$host" \
          "local hostname test"
 
 cp ${MHMTSCONF} ${MH_TEST_DIR}/Mail/mts.conf || exit 1
-export MHMTSCONF="${MH_TEST_DIR}/Mail/mts.conf"
+MHMTSCONF="${MH_TEST_DIR}/Mail/mts.conf"
 
 echo "localname: some.random.name" >> ${MHMTSCONF}