/usr/share/augeas/lenses/dist/tests/test_solaris_system.aug is in augeas-lenses 1.2.0-0ubuntu1.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | (* Test for system lens *)
module Test_solaris_system =
let conf = "*ident \"@(#)system 1.18 97/06/27 SMI\" /* SVR4 1.5 */
*
* SYSTEM SPECIFICATION FILE
*
moddir: /kernel /usr/kernel /other/modules
rootfs:ufs
rootdev:/sbus@1,f8000000/esp@0,800000/sd@3,0:a
include: win
include: sys/shmsys
exclude: win
exclude: sys/shmsys
forceload: drv/foo
forceload: drv/ssd
set nautopush=32
set noexec_user_stack=1
set zfs:zfs_arc_max=12884901888
set test_module:debug = 0x13
set fcp:ssfcp_enable_auto_configuration=1
set scsi_options = 0x7F8
set moddebug & ~0x880
set moddebug | 0x40
"
test Solaris_System.lns get conf =
{ "#comment" = "ident \"@(#)system 1.18 97/06/27 SMI\" /* SVR4 1.5 */" }
{ }
{ "#comment" = "SYSTEM SPECIFICATION FILE" }
{ }
{ }
{ "moddir"
{ "1" = "/kernel" }
{ "2" = "/usr/kernel" }
{ "3" = "/other/modules" } }
{ }
{ "rootfs" = "ufs" }
{ "rootdev" = "/sbus@1,f8000000/esp@0,800000/sd@3,0:a" }
{ }
{ "include" = "win" }
{ "include" = "sys/shmsys" }
{ }
{ "exclude" = "win" }
{ "exclude" = "sys/shmsys" }
{ }
{ "forceload" = "drv/foo" }
{ "forceload" = "drv/ssd" }
{ }
{ "set"
{ "variable" = "nautopush" }
{ "operator" = "=" }
{ "value" = "32" } }
{ "set"
{ "variable" = "noexec_user_stack" }
{ "operator" = "=" }
{ "value" = "1" } }
{ "set"
{ "module" = "zfs" }
{ "variable" = "zfs_arc_max" }
{ "operator" = "=" }
{ "value" = "12884901888" } }
{ "set"
{ "module" = "test_module" }
{ "variable" = "debug" }
{ "operator" = "=" }
{ "value" = "0x13" } }
{ "set"
{ "module" = "fcp" }
{ "variable" = "ssfcp_enable_auto_configuration" }
{ "operator" = "=" }
{ "value" = "1" } }
{ "set"
{ "variable" = "scsi_options" }
{ "operator" = "=" }
{ "value" = "0x7F8" } }
{ "set"
{ "variable" = "moddebug" }
{ "operator" = "&" }
{ "value" = "~0x880" } }
{ "set"
{ "variable" = "moddebug" }
{ "operator" = "|" }
{ "value" = "0x40" } }
(* Check that moddir supports colons and spaces *)
let moddir_colons = "moddir:/kernel:/usr/kernel:/other/modules
"
test Solaris_System.lns get moddir_colons =
{ "moddir"
{ "1" = "/kernel" }
{ "2" = "/usr/kernel" }
{ "3" = "/other/modules" } }
(* Local Variables: *)
(* mode: caml *)
(* End: *)
|