Fix t/storage/reconnect.t when run as root
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Sat, 1 Sep 2012 01:22:27 +0000 (02:22 +0100)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Sat, 1 Sep 2012 01:23:42 +0000 (02:23 +0100)
commit64819b0e69a844bb790701e13931afcc34f3d981
tree7d237d12726816ccd0ddb18ad3a8bd190b8e0805
parent6343a20374932aeb277eb63a91f9769f9da2f4b6
Fix t/storage/reconnect.t when run as root

As root, the chmod 000 doesn't prevent SQLite form opening the fake db
file, so we need to disconnect to make it reopen the restored real one.
Changes
t/storage/reconnect.t