#!/bin/sh # Available tests marked with `TEST` active_tests='list_all_channels' list_all_channels() { # TEST echo $arrows Test: list_all_channels : ... curl $GET $url/channels/list -d $simple_key echo '\n'$line } if [ -z $1 ];then . ./tests/common.sh echo Running tests $active_tests for cmd in $active_tests;do $cmd done else for cmd in $@;do $cmd done fi