tests: add wg-quick stub; fix wg with no args

This commit is contained in:
Leo Antunes 2019-03-30 21:32:03 +01:00
parent 3afa581cb7
commit af4984f1b1
2 changed files with 17 additions and 0 deletions

View File

@ -1,6 +1,9 @@
#!/bin/sh
case $1 in
'')
echo "nothing to see here"
;;
genkey)
echo "ILICZ3yBMCGAWNIq5Pn0bewBVimW3Q2yRVJ/Be+b1Uc="
;;

14
tests/wg-quick Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
case $1 in
up)
echo "up $2"
;;
pubkey)
echo "down $2"
;;
*)
echo "what?"
exit 1
;;
esac