elvish/store
Qi Xiao c451ce5ad3 store: Expose the test setup function, and clean up properly.
The cleanup relied on the fact that on Unix systems, files used by other
processes may be removed and the underlying filesystem resource is
released when its last reference is closed. However, this technique does
not work on Windows, leading to pollution of the temporary directory.
This commit fixes this by cleaning up the file after the testing
finishes.
2019-03-18 21:44:05 +00:00
..
storedefs Support deleting command history with store:del-cmd. 2018-05-14 23:26:36 +01:00
cmd_test.go store: RemoveCmd -> DelCmd. 2018-05-14 23:26:36 +01:00
cmd.go store: RemoveCmd -> DelCmd. 2018-05-14 23:26:36 +01:00
dir_test.go store: RemoveDir -> DelDir, add test. 2018-03-20 23:05:21 +00:00
dir.go store: RemoveDir -> DelDir, add test. 2018-03-20 23:05:21 +00:00
schema_version.go Replace SQLite with BoltDB (#441) 2017-07-19 22:19:42 +02:00
shared_var_test.go Define a common interface for store.Store and daemon.Client. 2017-12-28 21:44:10 +00:00
shared_var.go Define a common interface for store.Store and daemon.Client. 2017-12-28 21:44:10 +00:00
store_test.go store: Expose the test setup function, and clean up properly. 2019-03-18 21:44:05 +00:00
store.go Define a common interface for store.Store and daemon.Client. 2017-12-28 21:44:10 +00:00
testutil.go store: Expose the test setup function, and clean up properly. 2019-03-18 21:44:05 +00:00