tests: add wg-quick stub; fix wg with no args
This commit is contained in:
3
tests/wg
3
tests/wg
@ -1,6 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
|
'')
|
||||||
|
echo "nothing to see here"
|
||||||
|
;;
|
||||||
genkey)
|
genkey)
|
||||||
echo "ILICZ3yBMCGAWNIq5Pn0bewBVimW3Q2yRVJ/Be+b1Uc="
|
echo "ILICZ3yBMCGAWNIq5Pn0bewBVimW3Q2yRVJ/Be+b1Uc="
|
||||||
;;
|
;;
|
||||||
|
14
tests/wg-quick
Executable file
14
tests/wg-quick
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
up)
|
||||||
|
echo "up $2"
|
||||||
|
;;
|
||||||
|
pubkey)
|
||||||
|
echo "down $2"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "what?"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
Reference in New Issue
Block a user