Merge branch 'jk/am-leakfix'
[gitweb.git] / t / perf / p0000-perf-lib-sanity.sh
index 2ca4aaccb8a0a64513d1ab711895c8769ca2761e..002c21e52a6763ee14ac243b2b3a1af242fc2834 100755 (executable)
@@ -33,9 +33,25 @@ test_perf 'export a weird var' '
        test_export bar
 '
 
+test_perf 'éḿíẗ ńöń-ÁŚĆÍÍ ćḧáŕáćẗéŕś' 'true'
+
 test_expect_success 'test_export works with weird vars' '
        echo "$bar" &&
        test "$bar" = "weird # variable"
 '
 
+test_perf 'important variables available in subshells' '
+       test -n "$HOME" &&
+       test -n "$TEST_DIRECTORY" &&
+       test -n "$TRASH_DIRECTORY" &&
+       test -n "$GIT_BUILD_DIR"
+'
+
+test_perf 'test-lib-functions correctly loaded in subshells' '
+       : >a &&
+       test_path_is_file a &&
+       : >b &&
+       test_cmp a b
+'
+
 test_done