From 15310607aea5ebd47f7133ec638a10dcbd9712e6 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 3 Jun 2013 21:05:29 -0600 Subject: unit tests: make XDG_CONFIG_HOME not exist when checking usage text --- test/libremakepkg-test.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'test/libremakepkg-test.sh') diff --git a/test/libremakepkg-test.sh b/test/libremakepkg-test.sh index b014da7..0cf3788 100644 --- a/test/libremakepkg-test.sh +++ b/test/libremakepkg-test.sh @@ -22,6 +22,7 @@ it_builds_a_trivial_package() { } it_displays_help_as_normal_user() { + rm -rf "$XDG_CONFIG_HOME" libremakepkg -h >$tmpdir/stdout 2>$tmpdir/stderr [[ "$(sed 1q $tmpdir/stdout)" =~ Usage:.* ]] -- cgit v1.2.3