diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-04-25 16:27:37 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-04-25 16:27:37 +0000 |
commit | 25f968b2f119489efdcc83b2c544680fb09bf458 (patch) | |
tree | 05165cca7a58f980e5da3fe41b1890808f37072a /obnam.md | |
parent | fef7f220e2385ccfb423201958021a33c26b69c9 (diff) | |
parent | 0d8094967d7b07c832f798756e2b6d5609e7babc (diff) | |
download | obnam2-25f968b2f119489efdcc83b2c544680fb09bf458.tar.gz |
Merge branch 'tilde' into 'main'
feat: expand tilde notation in configuration file
Closes #102
See merge request larswirzenius/obnam!139
Diffstat (limited to 'obnam.md')
-rw-r--r-- | obnam.md | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -1122,6 +1122,29 @@ encrypt: false ~~~ +## Client expands tildes in its configuration file + +This scenario verifies that the client expands tildes in pathnames in +its configuration file. + + +~~~scenario +given an installed obnam +and file tilde.yaml +when I run obnam --config tilde.yaml config +then stdout contains home directory followed by /important +then stdout contains home directory followed by /obnam.log +~~~ + +~~~{#tilde.yaml .file .yaml .numberLines} +roots: [~/important] +log: ~/obnam.log +server_url: https://backup.example.com +verify_tls_cert: true +encrypt: false +~~~ + + ## Client requires https This scenario verifies that the client rejects a configuration with a |