printf " New symlink to a file...\t\t\t" generate_message external_msg_filename=${TEST_DIR}/external/$(basename $gen_msg_filename) mkdir -p $(dirname $external_msg_filename) mv $gen_msg_filename $external_msg_filename ln -s $external_msg_filename $gen_msg_filename increment_mtime ${MAIL_DIR} output=$(NOTMUCH_NEW) pass_if_equal "$output" "Added 1 new message to the database."