/usr/share/augeas/lenses/dist/tests/test_xorg.aug is in augeas-lenses 1.4.0-0ubuntu1.1.
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 | (* Tests for the Xorg module *)
module Test_xorg =
let conf = "
# xorg.conf
Section \"ServerLayout\"
Identifier \"single head configuration\"
Screen 0 \"Screen0\" 0 0
InputDevice \"Generic Keyboard\" \"CoreKeyboard\"
EndSection
Section \"InputDevice\"
Identifier \"Generic Keyboard\"
# that's a driver
Driver \"kbd\"
Option \"XkbOptions\" \"lv3:ralt_switch\"
EndSection
Section \"Device\"
Identifier \"Configured Video Device\"
Option \"MonitorLayout\" \"LVDS,VGA\"
VideoRam 229376
Option \"NoAccel\"
Screen 0
EndSection
Section \"Screen\"
Identifier \"Screen0\"
Device \"Configured Video Device\"
DefaultDepth 24
SubSection \"Display\"
Viewport 0 0
Depth 24
Modes \"1280x1024\" \"1280x960\" \"1280x800\"
EndSubSection
EndSection
Section \"Module\"
SubSection \"extmod\"
Option \"omit XFree86-DGA\"
EndSubSection
EndSection
"
test Xorg.lns get conf =
{ }
{ "#comment" = "xorg.conf" }
{ }
{ "ServerLayout"
{ "Identifier" = "single head configuration" }
{ "Screen" = "Screen0"
{ "num" = "0" }
{ "position" = "0 0" } }
{ "InputDevice" = "Generic Keyboard"
{ "option" = "CoreKeyboard" } } }
{ }
{ "InputDevice"
{ "Identifier" = "Generic Keyboard" }
{ "#comment" = "that's a driver" }
{ "Driver" = "kbd" }
{ "Option" = "XkbOptions"
{ "value" = "lv3:ralt_switch" } } }
{ }
{ "Device"
{ "Identifier" = "Configured Video Device" }
{ "Option" = "MonitorLayout"
{ "value" = "LVDS,VGA" } }
{ "VideoRam" = "229376" }
{ "Option" = "NoAccel" }
{ "Screen"
{ "num" = "0" } } }
{ }
{ "Screen"
{ "Identifier" = "Screen0" }
{ "Device" = "Configured Video Device" }
{ "DefaultDepth" = "24" }
{ "Display"
{ "ViewPort"
{ "x" = "0" }
{ "y" = "0" } }
{ "Depth" = "24" }
{ "Modes"
{ "mode" = "1280x1024" }
{ "mode" = "1280x960" }
{ "mode" = "1280x800" } } } }
{ }
{ "Module"
{ "extmod"
{ "Option" = "omit XFree86-DGA" } } }
|