From 641002eff37a30eb2b8237b15b74cc15b4d9f822 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 20 Jan 2014 13:41:28 -0500 Subject: test/librefetch: update the DLAGENTS setting --- test/librefetch-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/librefetch-test.sh') diff --git a/test/librefetch-test.sh b/test/librefetch-test.sh index 13ce80f..92f67a1 100644 --- a/test/librefetch-test.sh +++ b/test/librefetch-test.sh @@ -9,7 +9,7 @@ before() { mkdir -p "$HOME" printf '%s\n' \ - "DLAGENTS+=(\"libre::$(which librefetch) -p \\\"\\\$BUILDFILE\\\" %u %o\")" \ + 'DLAGENTS+=({https,libre}'\''::/usr/bin/librefetch -p "$BUILDFILE" -- %u %o'\'')' \ 'BUILDDIR=""' \ > "$HOME/.makepkg.conf" -- cgit v1.2.3-2-g168b From f046abd2a4d169e71ebe8eda14f01789b0bafdb0 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 5 Mar 2014 18:03:58 -0500 Subject: fix the librefetch unit tests --- test/librefetch-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/librefetch-test.sh') diff --git a/test/librefetch-test.sh b/test/librefetch-test.sh index 92f67a1..7642f91 100644 --- a/test/librefetch-test.sh +++ b/test/librefetch-test.sh @@ -9,7 +9,7 @@ before() { mkdir -p "$HOME" printf '%s\n' \ - 'DLAGENTS+=({https,libre}'\''::/usr/bin/librefetch -p "$BUILDFILE" -- %u %o'\'')' \ + "DLAGENTS+=({https,libre}'::$(which librefetch) -p \"\$BUILDFILE\" -- %u %o')" \ 'BUILDDIR=""' \ > "$HOME/.makepkg.conf" -- cgit v1.2.3-2-g168b From 5656c9706cf6f96e0646e9594750d8239e5fcbea Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 5 Mar 2014 18:09:37 -0500 Subject: Fix librefetch tests more. I should not be committing code this tired. --- test/librefetch-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/librefetch-test.sh') diff --git a/test/librefetch-test.sh b/test/librefetch-test.sh index 7642f91..43b7a69 100644 --- a/test/librefetch-test.sh +++ b/test/librefetch-test.sh @@ -15,7 +15,7 @@ before() { mkdir -p "$XDG_CONFIG_HOME/libretools" printf '%s\n' \ - 'MIRROR="phony://example.com/dir/"' \ + 'MIRRORS=("phony://example.com/dir/")' \ 'DOWNLOADER=/usr/bin/false' \ > "$XDG_CONFIG_HOME/libretools/librefetch.conf" } -- cgit v1.2.3-2-g168b From 79e4605a163199344df44b8947a15bac9ece75d0 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 10 May 2014 22:59:37 -0400 Subject: Add a rough test of file order from librefetch's tarballs. --- test/librefetch-test.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'test/librefetch-test.sh') diff --git a/test/librefetch-test.sh b/test/librefetch-test.sh index 43b7a69..675299a 100644 --- a/test/librefetch-test.sh +++ b/test/librefetch-test.sh @@ -31,6 +31,7 @@ it_displays_help() { empty $tmpdir/stderr } +# This test also does a rough test of file order in the PKGBUILD it_cleans_src_libre_first() { cp librefetch.d/* "$tmpdir/" cd "$tmpdir" -- cgit v1.2.3-2-g168b From 6f5910a55f72c5d01a26b685a7a06a6673a2e9f7 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 11 May 2014 01:36:44 -0400 Subject: test/librefetch: inhibit running an installed copy of librefetch --- test/librefetch-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/librefetch-test.sh') diff --git a/test/librefetch-test.sh b/test/librefetch-test.sh index 675299a..9db836b 100644 --- a/test/librefetch-test.sh +++ b/test/librefetch-test.sh @@ -9,7 +9,7 @@ before() { mkdir -p "$HOME" printf '%s\n' \ - "DLAGENTS+=({https,libre}'::$(which librefetch) -p \"\$BUILDFILE\" -- %u %o')" \ + "DLAGENTS=({https,libre}'::$(which librefetch) -p \"\$BUILDFILE\" -- %u %o')" \ 'BUILDDIR=""' \ > "$HOME/.makepkg.conf" -- cgit v1.2.3-2-g168b