#!/bin/sh # test_description='listcon functionality This test checks basic context listing functionality ' . ./test-lib.sh cat > todo.txt < output && ! test -s output ' cat > todo.txt <>> todo.sh listcon @1 @c2 @con03 @con04 @con05@con06 EOF cat > todo.txt <>> todo.sh listcon @con01 @con02 @con03 EOF cat > todo.txt <>> todo.sh listcon @con01 @con02 EOF cat > todo.txt < done.txt <>> TODOTXT_SOURCEVAR=\$DONE_FILE todo.sh listcon @done01 @done02 EOF test_todo_session 'listcon from combined open + done tasks' <<'EOF' >>> TODOTXT_SOURCEVAR='("$TODO_FILE" "$DONE_FILE")' todo.sh listcon @con01 @done01 @done02 EOF test_done