Commit c4a16970 authored by Vitaly Lipatov's avatar Vitaly Lipatov

tests/test_play.sh: add kubo using

parent f900826c
...@@ -12,8 +12,12 @@ fatal() ...@@ -12,8 +12,12 @@ fatal()
EPM=$(realpath $(dirname $0)/../bin/epm) EPM=$(realpath $(dirname $0)/../bin/epm)
ipfs=''
kubo=''
if [ "$1" == "--ipfs" ] ; then if [ "$1" == "--ipfs" ] ; then
ipfs="--ipfs" ipfs="--ipfs"
kubo="kubo"
shift shift
fi fi
...@@ -35,7 +39,7 @@ if [ "$1" == "--hasher" ] ; then ...@@ -35,7 +39,7 @@ if [ "$1" == "--hasher" ] ; then
exit exit
fi fi
loginhsh -i -t -p epm $B -r true curl iputils eepm-repack apt-repo loginhsh -i -t -p epm $B -r true curl iputils eepm-repack apt-repo $kubo
loginhsh -t -p epm $B -o loginhsh -t -p epm $B -o
HDIR=$(loginhsh -q -t -d -p epm $B) HDIR=$(loginhsh -q -t -d -p epm $B)
...@@ -52,6 +56,8 @@ if [ "$1" != "--local" ] ; then ...@@ -52,6 +56,8 @@ if [ "$1" != "--local" ] ; then
exit exit
fi fi
[ -n "$ipfs" ] && export EGET_IPFS_API=/ip4/91.232.225.49/tcp/5001
shift shift
SILENT='' SILENT=''
if [ "$1" == "--silent" ] ; then if [ "$1" == "--silent" ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment