From 05bea3e922aa7aec5cba3242d3f34b5c10fad24e Mon Sep 17 00:00:00 2001 From: Levente Polyak Date: Mon, 4 Mar 2024 23:37:49 +0100 Subject: test: add basic bats setup and test cases for `version setup` Signed-off-by: Levente Polyak --- test/fixture/version/setup/github-git-v-prefix/PKGBUILD | 17 +++++++++++++++++ .../setup/github-git-v-prefix/nvchecker.assert.toml | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 test/fixture/version/setup/github-git-v-prefix/PKGBUILD create mode 100644 test/fixture/version/setup/github-git-v-prefix/nvchecker.assert.toml (limited to 'test/fixture/version/setup/github-git-v-prefix') diff --git a/test/fixture/version/setup/github-git-v-prefix/PKGBUILD b/test/fixture/version/setup/github-git-v-prefix/PKGBUILD new file mode 100644 index 0000000..386d0c1 --- /dev/null +++ b/test/fixture/version/setup/github-git-v-prefix/PKGBUILD @@ -0,0 +1,17 @@ +pkgname=vim +pkgver=9.1.0131 +pkgrel=1 +pkgdesc="A dead-simple tool to sign files and verify digital signatures" +arch=('x86_64') +url="https://github.com/jedisct1/minisign" +license=('custom:ISC') +depends=('libsodium') +makedepends=('cmake' 'git') +_commit=feefda7af87f64342bd07bf446ceb0467cbd0fb4 # git rev-parse $pkgver +source=("git+https://github.com/vim/vim.git?signed#tag=v${pkgver}") +sha512sums=('SKIP') +validpgpkeys=(54A2B8892CC3D6A597B92B6C210627AABA709FE1) # Frank Denis + +package() { + : +} diff --git a/test/fixture/version/setup/github-git-v-prefix/nvchecker.assert.toml b/test/fixture/version/setup/github-git-v-prefix/nvchecker.assert.toml new file mode 100644 index 0000000..169d24b --- /dev/null +++ b/test/fixture/version/setup/github-git-v-prefix/nvchecker.assert.toml @@ -0,0 +1,4 @@ +[vim] +source = "git" +git = "https://github.com/vim/vim.git" +prefix = "v" -- cgit v1.2.3-70-g09d2