diff --git a/tests/t1310-listcon.sh b/tests/t1310-listcon.sh new file mode 100755 index 0000000..4ea6756 --- /dev/null +++ b/tests/t1310-listcon.sh @@ -0,0 +1,58 @@ +#!/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 + +test_done diff --git a/tests/t1320-listproj.sh b/tests/t1320-listproj.sh new file mode 100755 index 0000000..79b8bcf --- /dev/null +++ b/tests/t1320-listproj.sh @@ -0,0 +1,58 @@ +#!/bin/sh +# + +test_description='listproj functionality + +This test checks basic project listing functionality +' +. ./test-lib.sh + +cat > todo.txt < output && ! test -s output +' + +cat > todo.txt <>> todo.sh listproj ++1 ++p2 ++prj03 ++prj04 ++prj05+prj06 +EOF + +cat > todo.txt <>> todo.sh listproj ++prj01 ++prj02 ++prj03 +EOF + +cat > todo.txt <>> todo.sh listproj ++prj01 ++prj02 +EOF + +test_done