/opt/local/var/macports/build/augeas-9bb98f7d/work/augeas-1.12.0/lenses/tests/test_httpd.aug - Augeas Documentation

# test_httpd.aug

Summary

test_httpd.aug |
Augeas Tests |
Httpd.lns | Newlines inside quoted value (GH issue #104)
Httpd.lns | Support >= in tags (GH #154)

### Augeas Tests

### Httpd.lns

> test Httpd.lns get "Single 'Foo\\ bar' Double \"Foo\\ bar\"\n" = { "directive" = "Single" { "arg" = "'Foo\\\nbar'" } } { "directive" = "Double" { "arg" = "\"Foo\\\nbar\"" } }

Newlines inside quoted value (GH issue #104)

### Httpd.lns

> let versioncheck = " <IfVersion = 2.1> <IfModule !proxy_ajp_module> LoadModule proxy_ajp_module modules/mod_proxy_ajp.so </IfModule> </IfVersion> <IfVersion >= 2.4> <IfModule !proxy_ajp_module> LoadModule proxy_ajp_module modules/mod_proxy_ajp.so </IfModule> </IfVersion> " test Httpd.lns get versioncheck = { } { "IfVersion" { "arg" = "=" } { "arg" = "2.1" } { "IfModule" { "arg" = "!proxy_ajp_module" } { "directive" = "LoadModule" { "arg" = "proxy_ajp_module" } { "arg" = "modules/mod_proxy_ajp.so" } } } } { "IfVersion" { "arg" = ">=" } { "arg" = "2.4" } { "IfModule" { "arg" = "!proxy_ajp_module" } { "directive" = "LoadModule" { "arg" = "proxy_ajp_module" } { "arg" = "modules/mod_proxy_ajp.so" } } } }

Support >= in tags (GH #154)

> test Httpd.lns get "Single 'Foo\\ bar' Double \"Foo\\ bar\"\n" = { "directive" = "Single" { "arg" = "'Foo\\\nbar'" } } { "directive" = "Double" { "arg" = "\"Foo\\\nbar\"" } }

Newlines inside quoted value (GH issue #104)
Close