HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //usr/share/augeas/lenses/dist/tests/test_fuse.aug
(*
Module: Test_Fuse
  Provides unit tests and examples for the <Fuse> lens.
*)

module Test_Fuse =

(* Variable: conf *)
let conf = "# Set the maximum number of FUSE mounts allowed to non-root users.
mount_max = 1000

# Allow non-root users to specify the 'allow_other' or 'allow_root'
user_allow_other
"

(* Test: Fuse.lns *)
test Fuse.lns get conf =
   { "#comment" = "Set the maximum number of FUSE mounts allowed to non-root users." }
   { "mount_max" = "1000" }
   {  }
   { "#comment" = "Allow non-root users to specify the 'allow_other' or 'allow_root'" }
   { "user_allow_other" }