@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phpmyadmin-ubuntu-m-2vcpu-16gb-blr1-01 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Current Path :
/
usr
/
share
/
augeas
/
lenses
/
dist
/
tests
/
Path :
Upload File :
New :
File
Dir
//usr/share/augeas/lenses/dist/tests/test_jmxpassword.aug
(* Module: Test_JMXPassword Provides unit tests and examples for the <JMXPassword> lens. *) module Test_JMXPassword = (* Variable: conf *) let conf = "# Comment admin activemq " (* Variable: new_conf *) let new_conf = "# Comment admin password " let lns = JMXPassword.lns (* Test: JMXPassword.lns * Get test against tree structure *) test lns get conf = { "#comment" = "Comment" } { "user" { "username" = "admin" } { "password" = "activemq" } } (* Test: JMXPassword.lns * Put test changing password to password *) test lns put conf after set "/user/password" "password" = new_conf (* vim: set ts=4 expandtab sw=4: *)