Server IP : 127.0.0.2 / Your IP : 3.129.71.225 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/augeas/lenses/dist/tests/ |
Upload File : |
(* 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: *)