From b6c96bbfd14baff70932dd9fb4722d8e32f38a58 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 30 Jan 2022 11:33:37 +0700 Subject: all: replace beku_test in testdata with gitsubmodule Previously, the beku_test is bare clone of git repository stored as is. This cause an initial clone of the beku repository itself does not recognize it as git repository, which make the test fail: go test -v -coverprofile=cover.out ./... || rm -f cover.out fatal: '/home/ms/go/src/git.sr.ht/~shulhan/beku/testdata/beku_test.git' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 2022/01/30 10:56:19 gitInstall: Clone: exit status 128 FAIL github.com/shuLhan/beku 0.008s This changes make the testdata/beku_test.git as git submodule, to make the test run well. --- .../pack-6968a14165fc3c53cfcc3b1282019c96d19b6923.idx | Bin 1408 -> 0 bytes .../pack-6968a14165fc3c53cfcc3b1282019c96d19b6923.pack | Bin 1016 -> 0 bytes 2 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 testdata/beku_test.git/objects/pack/pack-6968a14165fc3c53cfcc3b1282019c96d19b6923.idx delete mode 100644 testdata/beku_test.git/objects/pack/pack-6968a14165fc3c53cfcc3b1282019c96d19b6923.pack (limited to 'testdata/beku_test.git/objects/pack') diff --git a/testdata/beku_test.git/objects/pack/pack-6968a14165fc3c53cfcc3b1282019c96d19b6923.idx b/testdata/beku_test.git/objects/pack/pack-6968a14165fc3c53cfcc3b1282019c96d19b6923.idx deleted file mode 100644 index 794afbb..0000000 Binary files a/testdata/beku_test.git/objects/pack/pack-6968a14165fc3c53cfcc3b1282019c96d19b6923.idx and /dev/null differ diff --git a/testdata/beku_test.git/objects/pack/pack-6968a14165fc3c53cfcc3b1282019c96d19b6923.pack b/testdata/beku_test.git/objects/pack/pack-6968a14165fc3c53cfcc3b1282019c96d19b6923.pack deleted file mode 100644 index 4f4e14e..0000000 Binary files a/testdata/beku_test.git/objects/pack/pack-6968a14165fc3c53cfcc3b1282019c96d19b6923.pack and /dev/null differ -- cgit v1.3