File tree Expand file tree Collapse file tree 3 files changed +59
-0
lines changed
fixtures/snapshots/getting-started Expand file tree Collapse file tree 3 files changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ cat << DOCKERFILE
4+ from alpine:latest
5+
6+ run apk -U --no-cache add git bash
7+ DOCKERFILE
Original file line number Diff line number Diff line change 1+ wget: unrecognized option: show-progress
2+ BusyBox v1.27.2 (2017-12-12 10:41:50 GMT) multi-call binary.
3+
4+ Usage: wget [-c|--continue] [--spider] [-q|--quiet] [-O|--output-document FILE]
5+ [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]
6+ [-S|--server-response] [-U|--user-agent AGENT] [-T SEC] URL...
7+
8+ Retrieve files via HTTP or FTP
9+
10+ --spider Only check URL existence: $? is 0 if exists
11+ -c Continue retrieval of aborted transfer
12+ -q Quiet
13+ -P DIR Save to DIR (default .)
14+ -S Show server response
15+ -T SEC Network read timeout is SEC seconds
16+ -O FILE Save to FILE ('-' for stdout)
17+ -U STR Use STR for User-Agent header
18+ -Y on/off Use proxy
19+ {
20+ "a": 42
21+ }
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -eu
4+
5+ root=" $( cd " ${0%/* } " && pwd) "
6+ # shellcheck source=./tests/utilities.sh
7+ source " $root /../utilities.sh"
8+
9+ SUCCESSFULLY=0
10+
11+ fixture=" $root /fixtures"
12+ snapshot=" $fixture /snapshots/getting-started"
13+
14+ (sandbox
15+ title " getting started"
16+ (with " a standard alpine image"
17+ (with " a clone of the getting-started repository"
18+ {
19+ git clone https://github.com/share-secrets-safely/getting-started /getting-started
20+ cd /getting-started/
21+ } > /dev/null
22+
23+ (when " executing one of the wrappers"
24+ it " succeeds" && {
25+ WITH_SNAPSHOT=" $snapshot /syv-output-on-alpine" \
26+ expect_run $SUCCESSFULLY ./syp a=42
27+ }
28+ )
29+ )
30+ )
31+ )
You can’t perform that action at this time.
0 commit comments