1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-15 11:22:43 +03:00
Natanael Copa 0f40c146f2 Refactor aws tests' fake meta-data
Refactor fake wget to use a yaml so we can set aws fake meta-data
similar to how we set nocloud fake meta-data.

Also move fake netcat to tests/bin/nc so its always there and we don't
need to remember to call fake_netcat when needed.
2023-05-17 17:40:43 +00:00

7 lines
113 B
Bash
Executable File

#!/bin/sh
input="$(cat)"
case "$input" in
-*) echo "nc: bad input: \$input" >&2; exit 1;;
esac
echo "token-foo"