E2E: make all test cases be funcs
E2E: make all test cases be funcs

Make all test cases functions so they can be called individually on the
CLI.  Call test_e2e.sh with `-?` to list tests.   Fix related crashes
(uses of $TESTCASE and so on).

kubernetes/git-sync,kubernetes/git-sync