Debian Codegraph @

debian/tests/0001-smoketest

raw symbols SCIP
1 #!/bin/sh
2
3 # Simple smoketest of httpdirfs
4
5 set -eu
6
7 # try to load fuse, abort if not available in test environment
8 if ! modprobe fuse
9 then
10 exit 0
11 fi
12
13 # show version number
14 httpdirfs --version
15
16 # prepare
17 mkdir mnt
18
19 # mount test
20 httpdirfs https://deb.debian.org/debian/ mnt
21
22 # read test
23 ls -l mnt/dists/unstable/main
24 gzip -t mnt/dists/unstable/main/Contents-udeb-amd64.gz
25 gzip -t mnt/dists/unstable/main/Contents-amd64.gz