diff deploy/test/smoketest.sh @ 1613:90bed4e10cc8 deploy

Download file link
author Chris Cannam
date Wed, 30 Aug 2017 17:24:37 +0100
parents 2496b955f638
children
line wrap: on
line diff
--- a/deploy/test/smoketest.sh	Wed Aug 30 15:51:18 2017 +0100
+++ b/deploy/test/smoketest.sh	Wed Aug 30 17:24:37 2017 +0100
@@ -33,6 +33,9 @@
 # A project known not to exist
 nonexistent_project=nonexistent-project
 
+# A file for download known to exist
+file_for_download=/attachments/download/2210/vamp-plugin-sdk-2.7.1-binaries-osx.tar.gz
+
 tried=0
 succeeded=0
 
@@ -80,6 +83,7 @@
 assert "/hg/$project_with_repo" "Mercurial repo"
 assert "/projects/$project_with_docs/embedded" "Project documentation page (from docgen cron script)"
 assert "/git/$project_with_repo/info/refs" "Git repo mirror"
+assert "$file_for_download" "File for download"
 
 # we expect this to return an http auth requirement, not a 404 - the
 # value 6 is wget's return code for auth failure