22. .dummy

SCR Agent for testing

22.1. Authors

  • Unknown <yast2-hacker@suse.de>

22.2. Description

Test agent. Returns the default (second arg to DataMap) for relative root (.dummy) or looks up the path in the map (first arg to DataMap)

Access type: read/write

File Name: /usr/share/YaST2/scrconf/dummy.scr

See also:

libscr

22.3. Usage

Example 13. 

`ag_dummy (
  DataMap($["a":1,"b":$["c":2, "d":3]], 0)
)
Read(.dummy)
(0)
Read(.dummy.a)
(1)
Read(.dummy.b)
($["c":2, "d":3])
Read(.dummy.b.d)
(3)