~ubuntu-branches/ubuntu/vivid/augeas/vivid-proposed

« back to all changes in this revision

Viewing changes to lenses/tests/test_shellvars_list.aug

  • Committer: Package Import Robot
  • Author(s): Raphaël Pinson
  • Date: 2014-12-01 10:49:19 UTC
  • mfrom: (1.6.1) (24.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20141201104919-lalkacyk0i5fndg5
Tags: 1.3.0-0ubuntu1
* New upstream version
* Include d/p/0003_Link_pthread.patch again

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
    set "VAR/value[1]" "test"
115
115
    = "VAR=test\n"
116
116
 
 
117
  (* Ticket #368 - backticks *)
 
118
  test Shellvars_list.lns get "GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`\n" =
 
119
    { "GRUB_DISTRIBUTOR"
 
120
      { "quote" = "" }
 
121
      { "value" = "`lsb_release -i -s 2> /dev/null || echo Debian`" } }
 
122
 
 
123
  (* Test: Shellvars_list.lns
 
124
       Ticket #342: end-of-line comments *)
 
125
  test Shellvars_list.lns get "service_ping=\"ping/icmp\" #ping\n" =
 
126
    { "service_ping"
 
127
      { "quote" = "\"" }
 
128
      { "value" = "ping/icmp" }
 
129
      { "#comment" = "ping" } }
 
130
 
117
131
(* Local Variables: *)
118
132
(* mode: caml       *)
119
133
(* End:             *)