Sharp.Augeas/Sharp.Augeas.Test/lens/tests/test_authinfo2.aug

45 lines
991 B
Plaintext
Raw Normal View History

2022-11-08 20:57:02 +03:00
module Test_authinfo2 =
let conf = "# Comment
[s3]
storage-url: s3://
backend-login: joe
backend-password: notquitesecret
[fs1]
storage-url: s3://joes-first-bucket
fs-passphrase: neitheristhis
[fs2]
storage-url: s3://joes-second-bucket
fs-passphrase: swordfish
[fs3]
storage-url: s3://joes-second-bucket/with-prefix
backend-login: bill
backend-password: bi23ll
fs-passphrase: ll23bi
"
test Authinfo2.lns get conf =
{ "#comment" = "Comment" }
{ "s3"
{ "storage-url" = "s3://" }
{ "backend-login" = "joe" }
{ "backend-password" = "notquitesecret" }
{} }
{ "fs1"
{ "storage-url" = "s3://joes-first-bucket" }
{ "fs-passphrase" = "neitheristhis" }
{} }
{ "fs2"
{}
{ "storage-url" = "s3://joes-second-bucket" }
{ "fs-passphrase" = "swordfish" } }
{ "fs3"
{ "storage-url" = "s3://joes-second-bucket/with-prefix" }
{ "backend-login" = "bill" }
{ "backend-password" = "bi23ll" }
{ "fs-passphrase" = "ll23bi" } }