Skip to content

Commit

Permalink
.autotest
Browse files Browse the repository at this point in the history
git-svn-id: svn://ultimatepp.org/upp/trunk@13715 f0d560ea-af0d-0410-9eb7-867de7ffcac7
  • Loading branch information
cxl committed Nov 24, 2019
1 parent 852e7c6 commit b107b0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autotest/CheckDownloads/CheckDownloads.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ using namespace Upp;

CONSOLE_APP_MAIN
{
StdLogSetup(LOG_COUT|LOG_FILE);

Date d;
String downloads = HttpRequest("http://www.ultimatepp.org/www$uppweb$nightly$en-us.html").Execute();
int q = downloads.Find("<a href=\"downloads/upp-x11-src-");
Expand All @@ -26,4 +28,5 @@ CONSOLE_APP_MAIN

LOG("downloads last date: " << d);
ASSERT(d >= GetSysDate() - 1);
LOG("============== OK");
}

0 comments on commit b107b0d

Please sign in to comment.