]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
tests: don't alter state in $HOME
authorEric Blake <eblake@redhat.com>
Wed, 23 Mar 2011 20:16:02 +0000 (14:16 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 28 Mar 2011 15:55:46 +0000 (09:55 -0600)
commitd0c7254bf1f4225fa799a8275c1fdc45068bf9f8
tree6df3eb76671df58452c16790e96feb3d1d9058b6
parentef701fd8cb12d7db69271bf852b54f2d4c7a1055
tests: don't alter state in $HOME

Diego reported a bug where virsh tries to initialize a readline
history directory during 'make check' run as root, but fails
because /root was read-only.

It turns out that I could reproduce this as non-root, by using:

mv ~/.virsh{,.bak}
chmod a-w ~
make check -C tests TESTS=int-overflow
chmod u+w ~
mv ~/.virsh{.bak,}

* tests/int-overflow: Don't trigger interactive mode.
Reported by Diego Elio Pettenò.
tests/int-overflow