1module Test_rmt =
2
3let conf = "#ident @(#)rmt.dfl	1.2 05/08/09 Copyr 2000 J. Schilling
4#
5# This file is /etc/default/rmt
6
7DEBUG=/tmp/RMT
8USER=*
9
10ACCESS=rtape	sparky	/dev/rmt/*
11ACCESS=*	*	/dev/rmt/*
12
13# Historically, Red Hat rmt was not so ^^ restrictive.
14ACCESS=*	*	*
15"
16
17test Rmt.lns get conf =
18  { "#comment" = "ident @(#)rmt.dfl	1.2 05/08/09 Copyr 2000 J. Schilling" }
19  { }
20  { "#comment" = "This file is /etc/default/rmt" }
21  { }
22  { "DEBUG" = "/tmp/RMT" }
23  { "USER" = "*" }
24  { }
25  { "ACCESS"
26    { "name" = "rtape" }
27    { "host" = "sparky" }
28    { "path" = "/dev/rmt/*" } }
29  { "ACCESS"
30    { "name" = "*" }
31    { "host" = "*" }
32    { "path" = "/dev/rmt/*" } }
33  { }
34  { "#comment" = "Historically, Red Hat rmt was not so ^^ restrictive." }
35  { "ACCESS"
36    { "name" = "*" }
37    { "host" = "*" }
38    { "path" = "*" } }
39