IMPROVED:
* Removed *BROKEN* dep. lrn2fixurshitk
This commit is contained in:
brent saner
2024-11-07 04:15:45 -05:00
parent 9dbc3a00fe
commit 70a88ca8b4
21 changed files with 430 additions and 166 deletions

View File

@@ -22,3 +22,18 @@ func TestNewAuger(t *testing.T) {
_ = aug
}
func TestRecursiveInclude(t *testing.T) {
var aug *Aug
var err error
if aug, err = NewAuger("/", "", &AugFlags{DryRun: PtrTrue}); err != nil {
t.Fatal(err)
}
// This requires Nginx to be installed and with a particularly complex nested include system.
if err = aug.RecursiveInclude("Nginx", "include", "/etc/nginx"); err != nil {
t.Fatal(err)
}
}