summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/librechroot-test.sh1
-rw-r--r--test/libremakepkg-test.sh1
-rw-r--r--test/librestage-test.sh1
3 files changed, 3 insertions, 0 deletions
diff --git a/test/librechroot-test.sh b/test/librechroot-test.sh
index c34af6e..91349c2 100644
--- a/test/librechroot-test.sh
+++ b/test/librechroot-test.sh
@@ -18,6 +18,7 @@ it_creates_repo_for_new_chroots() {
}
it_displays_help_as_normal_user() {
+ rm -rf "$XDG_CONFIG_HOME"
librechroot help >$tmpdir/stdout 2>$tmpdir/stderr
[[ "$(sed 1q $tmpdir/stdout)" =~ Usage:.* ]]
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:.* ]]
diff --git a/test/librestage-test.sh b/test/librestage-test.sh
index 83194b5..11b4739 100644
--- a/test/librestage-test.sh
+++ b/test/librestage-test.sh
@@ -21,6 +21,7 @@ after() {
}
it_displays_usage_text() {
+ rm -rf "$XDG_CONFIG_HOME"
librestage -h >$tmpdir/stdout 2>$tmpdir/stderr
[[ "$(sed 1q "$tmpdir/stdout")" =~ Usage:.* ]]