diff --git a/.gitignore b/.gitignore index 525c4e01..d53944d3 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,7 @@ man/* *.test tmp -test/remote +t/remote debian/git-lfs/ debian/*.log diff --git a/script/integration b/script/integration index ab92785d..6ebb7d05 100755 --- a/script/integration +++ b/script/integration @@ -1,6 +1,6 @@ #!/usr/bin/env bash -. "test/testenv.sh" +. "t/testenv.sh" set -e SHUTDOWN_LFS=no diff --git a/script/integration.go b/script/integration.go index e67b30a9..28eedd48 100644 --- a/script/integration.go +++ b/script/integration.go @@ -20,7 +20,7 @@ var ( debugging = false erroring = false maxprocs = 4 - testPattern = regexp.MustCompile(`test[/\\]test-([a-z\-]+)\.sh$`) + testPattern = regexp.MustCompile(`t[/\\]t-([a-z\-]+)\.sh$`) ) func mainIntegration() { @@ -148,7 +148,7 @@ func testFiles() []string { files := make([]string, 0, len(os.Args)-3) for _, arg := range os.Args { - fullname := "test/test-" + arg + ".sh" + fullname := "t/t-" + arg + ".sh" if fileMap[fullname] { files = append(files, fullname) } @@ -159,7 +159,7 @@ func testFiles() []string { func allTestFiles() []string { files := make([]string, 0, 100) - filepath.Walk("test", func(path string, info os.FileInfo, err error) error { + filepath.Walk("t", func(path string, info os.FileInfo, err error) error { if debugging { fmt.Println("FOUND:", path) } diff --git a/t/test-askpass.sh b/t/t-askpass.sh similarity index 100% rename from t/test-askpass.sh rename to t/t-askpass.sh diff --git a/t/test-batch-error-handling.sh b/t/t-batch-error-handling.sh similarity index 100% rename from t/test-batch-error-handling.sh rename to t/t-batch-error-handling.sh diff --git a/t/test-batch-retries.sh b/t/t-batch-retries.sh similarity index 100% rename from t/test-batch-retries.sh rename to t/t-batch-retries.sh diff --git a/t/test-batch-transfer.sh b/t/t-batch-transfer.sh similarity index 100% rename from t/test-batch-transfer.sh rename to t/t-batch-transfer.sh diff --git a/t/test-batch-unknown-oids.sh b/t/t-batch-unknown-oids.sh similarity index 100% rename from t/test-batch-unknown-oids.sh rename to t/t-batch-unknown-oids.sh diff --git a/t/test-checkout.sh b/t/t-checkout.sh similarity index 100% rename from t/test-checkout.sh rename to t/t-checkout.sh diff --git a/t/test-chunked-transfer-encoding.sh b/t/t-chunked-transfer-encoding.sh similarity index 100% rename from t/test-chunked-transfer-encoding.sh rename to t/t-chunked-transfer-encoding.sh diff --git a/t/test-clean.sh b/t/t-clean.sh similarity index 100% rename from t/test-clean.sh rename to t/t-clean.sh diff --git a/t/test-clone-deprecated.sh b/t/t-clone-deprecated.sh similarity index 100% rename from t/test-clone-deprecated.sh rename to t/t-clone-deprecated.sh diff --git a/t/test-clone.sh b/t/t-clone.sh similarity index 100% rename from t/test-clone.sh rename to t/t-clone.sh diff --git a/t/test-commit-delete-push.sh b/t/t-commit-delete-push.sh similarity index 100% rename from t/test-commit-delete-push.sh rename to t/t-commit-delete-push.sh diff --git a/t/test-config.sh b/t/t-config.sh similarity index 100% rename from t/test-config.sh rename to t/t-config.sh diff --git a/t/test-credentials-no-prompt.sh b/t/t-credentials-no-prompt.sh similarity index 100% rename from t/test-credentials-no-prompt.sh rename to t/t-credentials-no-prompt.sh diff --git a/t/test-credentials.sh b/t/t-credentials.sh similarity index 100% rename from t/test-credentials.sh rename to t/t-credentials.sh diff --git a/t/test-custom-transfers.sh b/t/t-custom-transfers.sh similarity index 100% rename from t/test-custom-transfers.sh rename to t/t-custom-transfers.sh diff --git a/t/test-duplicate-oids.sh b/t/t-duplicate-oids.sh similarity index 100% rename from t/test-duplicate-oids.sh rename to t/t-duplicate-oids.sh diff --git a/t/test-env.sh b/t/t-env.sh similarity index 100% rename from t/test-env.sh rename to t/t-env.sh diff --git a/t/test-expired.sh b/t/t-expired.sh similarity index 100% rename from t/test-expired.sh rename to t/t-expired.sh diff --git a/t/test-ext.sh b/t/t-ext.sh similarity index 100% rename from t/test-ext.sh rename to t/t-ext.sh diff --git a/t/test-extra-header.sh b/t/t-extra-header.sh similarity index 100% rename from t/test-extra-header.sh rename to t/t-extra-header.sh diff --git a/t/test-fetch-include.sh b/t/t-fetch-include.sh similarity index 100% rename from t/test-fetch-include.sh rename to t/t-fetch-include.sh diff --git a/t/test-fetch-paths.sh b/t/t-fetch-paths.sh similarity index 100% rename from t/test-fetch-paths.sh rename to t/t-fetch-paths.sh diff --git a/t/test-fetch-recent.sh b/t/t-fetch-recent.sh similarity index 100% rename from t/test-fetch-recent.sh rename to t/t-fetch-recent.sh diff --git a/t/test-fetch-refspec.sh b/t/t-fetch-refspec.sh similarity index 100% rename from t/test-fetch-refspec.sh rename to t/t-fetch-refspec.sh diff --git a/t/test-fetch.sh b/t/t-fetch.sh similarity index 100% rename from t/test-fetch.sh rename to t/t-fetch.sh diff --git a/t/test-filter-branch.sh b/t/t-filter-branch.sh similarity index 100% rename from t/test-filter-branch.sh rename to t/t-filter-branch.sh diff --git a/t/test-filter-process.sh b/t/t-filter-process.sh similarity index 100% rename from t/test-filter-process.sh rename to t/t-filter-process.sh diff --git a/t/test-fsck.sh b/t/t-fsck.sh similarity index 100% rename from t/test-fsck.sh rename to t/t-fsck.sh diff --git a/t/test-happy-path.sh b/t/t-happy-path.sh similarity index 100% rename from t/test-happy-path.sh rename to t/t-happy-path.sh diff --git a/t/test-install-custom-hooks-path-unsupported.sh b/t/t-install-custom-hooks-path-unsupported.sh similarity index 100% rename from t/test-install-custom-hooks-path-unsupported.sh rename to t/t-install-custom-hooks-path-unsupported.sh diff --git a/t/test-install-custom-hooks-path.sh b/t/t-install-custom-hooks-path.sh similarity index 100% rename from t/test-install-custom-hooks-path.sh rename to t/t-install-custom-hooks-path.sh diff --git a/t/test-install.sh b/t/t-install.sh similarity index 100% rename from t/test-install.sh rename to t/t-install.sh diff --git a/t/test-lock.sh b/t/t-lock.sh similarity index 100% rename from t/test-lock.sh rename to t/t-lock.sh diff --git a/t/test-locks.sh b/t/t-locks.sh similarity index 100% rename from t/test-locks.sh rename to t/t-locks.sh diff --git a/t/test-logs.sh b/t/t-logs.sh similarity index 100% rename from t/test-logs.sh rename to t/t-logs.sh diff --git a/t/test-ls-files.sh b/t/t-ls-files.sh similarity index 100% rename from t/test-ls-files.sh rename to t/t-ls-files.sh diff --git a/t/test-malformed-pointers.sh b/t/t-malformed-pointers.sh similarity index 100% rename from t/test-malformed-pointers.sh rename to t/t-malformed-pointers.sh diff --git a/t/test-mergetool.sh b/t/t-mergetool.sh similarity index 100% rename from t/test-mergetool.sh rename to t/t-mergetool.sh diff --git a/t/test-migrate-export.sh b/t/t-migrate-export.sh similarity index 100% rename from t/test-migrate-export.sh rename to t/t-migrate-export.sh diff --git a/t/test-migrate-fixtures.sh b/t/t-migrate-fixtures.sh similarity index 100% rename from t/test-migrate-fixtures.sh rename to t/t-migrate-fixtures.sh diff --git a/t/test-migrate-fixup.sh b/t/t-migrate-fixup.sh similarity index 100% rename from t/test-migrate-fixup.sh rename to t/t-migrate-fixup.sh diff --git a/t/test-migrate-import-no-rewrite.sh b/t/t-migrate-import-no-rewrite.sh similarity index 100% rename from t/test-migrate-import-no-rewrite.sh rename to t/t-migrate-import-no-rewrite.sh diff --git a/t/test-migrate-import.sh b/t/t-migrate-import.sh similarity index 100% rename from t/test-migrate-import.sh rename to t/t-migrate-import.sh diff --git a/t/test-migrate-info.sh b/t/t-migrate-info.sh similarity index 100% rename from t/test-migrate-info.sh rename to t/t-migrate-info.sh diff --git a/t/test-object-authenticated.sh b/t/t-object-authenticated.sh similarity index 100% rename from t/test-object-authenticated.sh rename to t/t-object-authenticated.sh diff --git a/t/test-pointer.sh b/t/t-pointer.sh similarity index 100% rename from t/test-pointer.sh rename to t/t-pointer.sh diff --git a/t/test-post-checkout.sh b/t/t-post-checkout.sh similarity index 100% rename from t/test-post-checkout.sh rename to t/t-post-checkout.sh diff --git a/t/test-post-commit.sh b/t/t-post-commit.sh similarity index 100% rename from t/test-post-commit.sh rename to t/t-post-commit.sh diff --git a/t/test-post-merge.sh b/t/t-post-merge.sh similarity index 100% rename from t/test-post-merge.sh rename to t/t-post-merge.sh diff --git a/t/test-pre-push.sh b/t/t-pre-push.sh similarity index 100% rename from t/test-pre-push.sh rename to t/t-pre-push.sh diff --git a/t/test-progress-meter.sh b/t/t-progress-meter.sh similarity index 100% rename from t/test-progress-meter.sh rename to t/t-progress-meter.sh diff --git a/t/test-progress.sh b/t/t-progress.sh similarity index 100% rename from t/test-progress.sh rename to t/t-progress.sh diff --git a/t/test-prune-worktree.sh b/t/t-prune-worktree.sh similarity index 100% rename from t/test-prune-worktree.sh rename to t/t-prune-worktree.sh diff --git a/t/test-prune.sh b/t/t-prune.sh similarity index 100% rename from t/test-prune.sh rename to t/t-prune.sh diff --git a/t/test-pull.sh b/t/t-pull.sh similarity index 100% rename from t/test-pull.sh rename to t/t-pull.sh diff --git a/t/test-push-bad-dns.sh b/t/t-push-bad-dns.sh similarity index 100% rename from t/test-push-bad-dns.sh rename to t/t-push-bad-dns.sh diff --git a/t/test-push-failures-local.sh b/t/t-push-failures-local.sh similarity index 100% rename from t/test-push-failures-local.sh rename to t/t-push-failures-local.sh diff --git a/t/test-push-failures-remote.sh b/t/t-push-failures-remote.sh similarity index 100% rename from t/test-push-failures-remote.sh rename to t/t-push-failures-remote.sh diff --git a/t/test-push-file-with-branch-name.sh b/t/t-push-file-with-branch-name.sh similarity index 100% rename from t/test-push-file-with-branch-name.sh rename to t/t-push-file-with-branch-name.sh diff --git a/t/test-push.sh b/t/t-push.sh similarity index 100% rename from t/test-push.sh rename to t/t-push.sh diff --git a/t/test-reference-clone.sh b/t/t-reference-clone.sh similarity index 100% rename from t/test-reference-clone.sh rename to t/t-reference-clone.sh diff --git a/t/test-resume-http-range.sh b/t/t-resume-http-range.sh similarity index 100% rename from t/test-resume-http-range.sh rename to t/t-resume-http-range.sh diff --git a/t/test-resume-tus.sh b/t/t-resume-tus.sh similarity index 100% rename from t/test-resume-tus.sh rename to t/t-resume-tus.sh diff --git a/t/test-smudge.sh b/t/t-smudge.sh similarity index 100% rename from t/test-smudge.sh rename to t/t-smudge.sh diff --git a/t/test-ssh.sh b/t/t-ssh.sh similarity index 100% rename from t/test-ssh.sh rename to t/t-ssh.sh diff --git a/t/test-status.sh b/t/t-status.sh similarity index 100% rename from t/test-status.sh rename to t/t-status.sh diff --git a/t/test-submodule-lfsconfig.sh b/t/t-submodule-lfsconfig.sh similarity index 100% rename from t/test-submodule-lfsconfig.sh rename to t/t-submodule-lfsconfig.sh diff --git a/t/test-submodule.sh b/t/t-submodule.sh similarity index 100% rename from t/test-submodule.sh rename to t/t-submodule.sh diff --git a/t/test-track-attrs.sh b/t/t-track-attrs.sh similarity index 100% rename from t/test-track-attrs.sh rename to t/t-track-attrs.sh diff --git a/t/test-track-wildcards.sh b/t/t-track-wildcards.sh similarity index 100% rename from t/test-track-wildcards.sh rename to t/t-track-wildcards.sh diff --git a/t/test-track.sh b/t/t-track.sh similarity index 100% rename from t/test-track.sh rename to t/t-track.sh diff --git a/t/test-uninstall.sh b/t/t-uninstall.sh similarity index 100% rename from t/test-uninstall.sh rename to t/t-uninstall.sh diff --git a/t/test-unlock.sh b/t/t-unlock.sh similarity index 100% rename from t/test-unlock.sh rename to t/t-unlock.sh diff --git a/t/test-untrack.sh b/t/t-untrack.sh similarity index 100% rename from t/test-untrack.sh rename to t/t-untrack.sh diff --git a/t/test-unusual-filenames.sh b/t/t-unusual-filenames.sh similarity index 100% rename from t/test-unusual-filenames.sh rename to t/t-unusual-filenames.sh diff --git a/t/test-update.sh b/t/t-update.sh similarity index 100% rename from t/test-update.sh rename to t/t-update.sh diff --git a/t/test-verify.sh b/t/t-verify.sh similarity index 100% rename from t/test-verify.sh rename to t/t-verify.sh diff --git a/t/test-version.sh b/t/t-version.sh similarity index 100% rename from t/test-version.sh rename to t/t-version.sh diff --git a/t/test-worktree.sh b/t/t-worktree.sh similarity index 100% rename from t/test-worktree.sh rename to t/t-worktree.sh diff --git a/t/test-zero-len-file.sh b/t/t-zero-len-file.sh similarity index 100% rename from t/test-zero-len-file.sh rename to t/t-zero-len-file.sh