HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/test_approx.aug
(*
Module: Test_Approx
  Provides unit tests and examples for the <Approx> lens.
*)

module Test_approx =

(* Variable: default_approx
   A full configuration *)
  let default_approx = "# The following are the defaults, so there is no need
# to uncomment them unless you want a different value.
# See approx.conf(5) for details.

$interface	any
$port		9999
$interval	720
$max_wait	10
$max_rate	unlimited
$debug		false

# Here are some examples of remote repository mappings.
# See http://www.debian.org/mirror/list for mirror sites.

debian		http://ftp.nl.debian.org/debian
debian-volatile http://ftp.nl.debian.org/debian-volatile
security	http://security.debian.org
"

(* Test: Approx.lns
   Testing <Approx.lns> on <default_approx> *)
  test Approx.lns get default_approx =
  { "#comment" = "The following are the defaults, so there is no need" }
  { "#comment" = "to uncomment them unless you want a different value." }
  { "#comment" = "See approx.conf(5) for details." }
  {  }
  { "$interface" = "any" }
  { "$port" = "9999" }
  { "$interval" = "720" }
  { "$max_wait" = "10" }
  { "$max_rate" = "unlimited" }
  { "$debug" = "false" }
  {  }
  { "#comment" = "Here are some examples of remote repository mappings." }
  { "#comment" = "See http://www.debian.org/mirror/list for mirror sites." }
  {  }
  { "debian" = "http://ftp.nl.debian.org/debian" }
  { "debian-volatile" = "http://ftp.nl.debian.org/debian-volatile" }
  { "security" = "http://security.debian.org" }