master
sh 19 lines 338 Bytes
Raw
1 #!/usr/bin/env bash
2
3 test_description="Test fx plugin"
4
5 . lib/test-lib.sh
6
7 test_init_ipfs
8
9 export GOLOG_LOG_LEVEL="fxtestplugin=debug"
10 export TEST_FX_PLUGIN=1
11 test_launch_ipfs_daemon
12
13 test_expect_success "expected log entry should be present" '
14 fgrep "invoked test fx function" daemon_err >/dev/null
15 '
16
17 test_kill_ipfs_daemon
18
19 test_done