piknik

Unnamed repository; edit this file 'description' to name the repository.
Info | Log | Files | Refs | README | LICENSE

commit 76e5d333c1e208e29199849e1c28f0e31308f3f1
parent 62db696ab468202f1ec9117ca15b911069e1414f
Author: lash <dev@holbrook.no>
Date:   Sat, 22 Apr 2023 15:27:14 +0100

Make test cli tool use temp data dir

Diffstat:
Mtest_cli.sh | 18+++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/test_cli.sh b/test_cli.sh @@ -13,16 +13,16 @@ export GNUPGHOME=$g gpg --homedir $g --passphrase '' --quick-generate-key --pinentry loopback --yes testuser fp=`gpg --list-keys --homedir $g testuser 2> /dev/null | awk '/^ / {print $1;}'` -i_foo=`python piknik/runnable/cmd.py add "foo"` -i_bar=`python piknik/runnable/cmd.py add "bar"` +i_foo=`python piknik/runnable/cmd.py -d $d add "foo"` +i_bar=`python piknik/runnable/cmd.py -d $d add "bar"` -python piknik/runnable/cmd.py mod --accept -i $i_foo -python piknik/runnable/cmd.py mod --finish -i $i_bar -python piknik/runnable/cmd.py comment -s $fp -x bazbazbaz -i $i_foo -python piknik/runnable/cmd.py show -python piknik/runnable/cmd.py show -r html -python piknik/runnable/cmd.py show -i $i_foo -python piknik/runnable/cmd.py show -r html -i $i_bar +python piknik/runnable/cmd.py mod -d $d --accept -i $i_foo +python piknik/runnable/cmd.py mod -d $d --finish -i $i_bar +python piknik/runnable/cmd.py comment -d $d -s $fp -x bazbazbaz -i $i_foo +python piknik/runnable/cmd.py show -d $d +python piknik/runnable/cmd.py show -d $d -r html +python piknik/runnable/cmd.py show -d $d -i $i_foo +python piknik/runnable/cmd.py show -d $d -r html -i $i_bar set +x set +e set +a