Skip to content

Commit

Permalink
Merge pull request #824 from jan-stanek/test-path-impr
Browse files Browse the repository at this point in the history
Test script improved
  • Loading branch information
msusicky authored Apr 22, 2024
2 parents 46cf9eb + fb93949 commit 46eda2e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions scripts/test_pages.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/bash
wget -r --adjust-extension http://127.0.0.1:5001/

WEB_TMP_DIR="/home/ockovani/acc/web-tmp"

mkdir -p $WEB_TMP_DIR

wget -r -P $WEB_TMP_DIR -e robots=off --adjust-extension http://127.0.0.1:5001/
wget_res=$?
rm -r 127.0.0.1:5001

rm -r $WEB_TMP_DIR

exit $wget_res

0 comments on commit 46eda2e

Please sign in to comment.