From 11ca293c188ad394e2383381a4bce152cc7f0723 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 26 Oct 2013 23:16:13 -0400 Subject: fix librefetch, add (some) tests for it --- test/librefetch.d/PKGBUILD | 15 +++++++++++++++ test/librefetch.d/list.txt | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 test/librefetch.d/PKGBUILD create mode 100644 test/librefetch.d/list.txt (limited to 'test/librefetch.d') diff --git a/test/librefetch.d/PKGBUILD b/test/librefetch.d/PKGBUILD new file mode 100644 index 0000000..723d82e --- /dev/null +++ b/test/librefetch.d/PKGBUILD @@ -0,0 +1,15 @@ +pkgname=testpkg +pkgver=1.0 +pkgrel=1 +pkgdesc=foo +arch=(any) +source=("libre://$pkgname-$pkgver.tar.gz") + +mksource() { + mkdir "$srcdir/bar" + touch "$srcdir/bar/file" +} + +package() { + :; +} diff --git a/test/librefetch.d/list.txt b/test/librefetch.d/list.txt new file mode 100644 index 0000000..b04d5d1 --- /dev/null +++ b/test/librefetch.d/list.txt @@ -0,0 +1,2 @@ +bar/ +bar/file -- cgit v1.2.3