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/PKGBUILD | 17 +++++++++++++++++ .../version/setup/github-git/nvchecker.assert.toml | 3 +++ 2 files changed, 20 insertions(+) create mode 100644 test/fixture/version/setup/github-git/PKGBUILD create mode 100644 test/fixture/version/setup/github-git/nvchecker.assert.toml (limited to 'test/fixture/version/setup/github-git') diff --git a/test/fixture/version/setup/github-git/PKGBUILD b/test/fixture/version/setup/github-git/PKGBUILD new file mode 100644 index 0000000..18e30bc --- /dev/null +++ b/test/fixture/version/setup/github-git/PKGBUILD @@ -0,0 +1,17 @@ +pkgname=minisign +pkgver=0.11 +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/jedisct1/minisign.git?signed#tag=$_commit") +sha512sums=('SKIP') +validpgpkeys=(54A2B8892CC3D6A597B92B6C210627AABA709FE1) # Frank Denis + +package() { + : +} diff --git a/test/fixture/version/setup/github-git/nvchecker.assert.toml b/test/fixture/version/setup/github-git/nvchecker.assert.toml new file mode 100644 index 0000000..6d54f48 --- /dev/null +++ b/test/fixture/version/setup/github-git/nvchecker.assert.toml @@ -0,0 +1,3 @@ +[minisign] +source = "git" +git = "https://github.com/jedisct1/minisign.git" -- cgit v1.2.3-70-g09d2