From 62e4c68907d8d33709c2c1f92a161dff00b3d5f2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 22:01:36 +0200 Subject: Adding upstream version 0.11.2. Signed-off-by: Daniel Baumann --- test/test_curl.sh | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 test/test_curl.sh (limited to 'test/test_curl.sh') diff --git a/test/test_curl.sh b/test/test_curl.sh new file mode 100644 index 0000000..be3d1cd --- /dev/null +++ b/test/test_curl.sh @@ -0,0 +1,48 @@ +#! /bin/bash + +if test x"$SFTP_TEST_URL" == x""; then + exit 0 +fi + +run_test ${lnav_test} -n \ + file://${test_dir}/logfile_access_log.0 + +check_output "file URL is not working" <> curl_access_log.0" \ + $SFTP_TEST_URL/`pwd`/curl_access_log.0 + +check_output "sftp URL is not working" <