D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
usr
/
share
/
augeas
/
lenses
/
dist
/
tests
/
Filename :
test_smbusers.aug
back
Copy
(* Module: Test_SmbUsers Provides unit tests and examples for the <SmbUsers> lens. *) module Test_SmbUsers = (* Variable: conf *) let conf = "# this is a comment jarwin = JosephArwin manderso = MarkAnderson MarkusAndersonus users = @account nobody = * ;commented = SomeOne " (* Test: Simplevars.lns *) test SmbUsers.lns get conf = { "#comment" = "this is a comment" } { } { "jarwin" { "username" = "JosephArwin" } } { "manderso" { "username" = "MarkAnderson" } { "username" = "MarkusAndersonus" } } { "users" { "username" = "@account" } } { "nobody" { "username" = "*" } } { "#comment" = "commented = SomeOne" }