summaryrefslogtreecommitdiff
path: root/test/feh-bg.i
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-01-17 20:50:23 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-01-17 20:50:23 +0100
commit50dce6b4df0bba360331e65133185953a7e70983 (patch)
treed142b6cec50031302e30ae77a9ccd5c5742ce5bd /test/feh-bg.i
parent46517923cc67b7c3f81c6d99974909c0d23dac62 (diff)
test: Change HOME to avoid interferences with existing feh installations
Diffstat (limited to 'test/feh-bg.i')
-rwxr-xr-xtest/feh-bg.i3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/feh-bg.i b/test/feh-bg.i
index e7b2f0b..3624f5c 100755
--- a/test/feh-bg.i
+++ b/test/feh-bg.i
@@ -10,7 +10,7 @@ use Time::HiRes qw/sleep/;
my ($pid_xnest, $pid_twm);
-$ENV{XDG_CONFIG_HOME} = "/tmp/feh-test-$$";
+$ENV{HOME} = 'test';
sub set_bg {
my ($mode, $file) = @_;
@@ -76,3 +76,4 @@ kill(15, $pid_xnest);
sleep(0.2);
unlink("/tmp/feh_${$}.png");
+unlink('test/.fehbg');