Debian Codegraph @

tests/lftp-https-get

raw ◀ ▶
1 Debian patch touch this file
1 #!/bin/sh
•2 echo "Do not access web in offline chroot environment"
3 exit 0
4
5
6 ../src/lftp <<EOF
7 # test if https is available first
8 open https://localhost & || exit 77
9 # try to get a file via https
10 cat https://lftp.yar.ru/features.html
11 EOF