summaryrefslogtreecommitdiff
path: root/test/librefetch.d
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-05-10 22:59:37 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-05-11 02:00:46 -0400
commit79e4605a163199344df44b8947a15bac9ece75d0 (patch)
tree0a424b631037ce2a331e6f9d00ef70cf331c9e97 /test/librefetch.d
parentb810795b6689ab9e1635af21a48660305b2a7820 (diff)
Add a rough test of file order from librefetch's tarballs.
Diffstat (limited to 'test/librefetch.d')
-rw-r--r--test/librefetch.d/PKGBUILD5
-rw-r--r--test/librefetch.d/list.txt5
2 files changed, 8 insertions, 2 deletions
diff --git a/test/librefetch.d/PKGBUILD b/test/librefetch.d/PKGBUILD
index 723d82e..db80db3 100644
--- a/test/librefetch.d/PKGBUILD
+++ b/test/librefetch.d/PKGBUILD
@@ -7,7 +7,10 @@ source=("libre://$pkgname-$pkgver.tar.gz")
mksource() {
mkdir "$srcdir/bar"
- touch "$srcdir/bar/file"
+ local file
+ for file in '~foo' '~a' a A; do
+ touch "$srcdir/bar/$file"
+ done
}
package() {
diff --git a/test/librefetch.d/list.txt b/test/librefetch.d/list.txt
index b04d5d1..9bd32f4 100644
--- a/test/librefetch.d/list.txt
+++ b/test/librefetch.d/list.txt
@@ -1,2 +1,5 @@
bar/
-bar/file
+bar/A
+bar/a
+bar/~a
+bar/~foo