Anna Shaleva
|
9de9bcb17c
|
cli: add tests for server commands
Fixes:
* Proper exit code should be returned on exit for server-related
commands
|
2022-02-02 11:28:26 +03:00 |
|
AnnaShaleva
|
aefb6f9fee
|
*: fix tests failing due to path.Join usage
Solution:
Use `file/filepath` package to construct expected path. This package is OS-aware, see https://github.com/golang/go/issues/30616.
|
2021-11-29 11:11:09 +03:00 |
|
Roman Khimov
|
6d074a96e9
|
*: make tests use TempDir(), fix #1319
Simplify things, drop TempFile at the same time (refs. #1764)
|
2021-08-26 17:29:40 +03:00 |
|
Roman Khimov
|
0583f252ab
|
*: create real temporary dirs and files in tests
Improve reliability.
|
2021-07-20 12:51:11 +03:00 |
|
Evgeniy Stratonikov
|
de15d42861
|
cli: remove --skip parameter from restore
It isn't really a parameter and it's value can be deduced automatically.
Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
|
2021-07-16 13:32:08 +03:00 |
|
Anna Shaleva
|
2c81fc8b8e
|
*: upgrade tests to use T.Cleanup()
|
2021-03-01 17:08:00 +03:00 |
|
Evgenii Stratonikov
|
99bdee676a
|
cli: add tests for db dump/restore
|
2020-12-01 18:38:09 +03:00 |
|