~ubuntu-branches/ubuntu/natty/augeas/natty

« back to all changes in this revision

Viewing changes to tests/aliases-add-value.rb

  • Committer: Bazaar Package Importer
  • Author(s): Raphaël Pinson
  • Date: 2011-02-24 09:32:22 UTC
  • mfrom: (1.2.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20110224093222-bfd4fkm6envek6ys
Tags: 0.8.0-0ubuntu1
* New upstream release.
* Remove obsolete ruby Build-Depend.
* Build PDF docs and add them to augeas-doc.
* Build-Depend on texlive-latex-base to build PDF docs.
* Install txt doc files in augeas-doc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
commands="
2
 
ins value after /files/etc/aliases/1/value[last()]
3
 
set /files/etc/aliases/1/value[last()] barbar
4
 
save
5
 
"
6
 
 
7
 
diff["/etc/aliases"] = <<TXT
8
 
--- /etc/aliases
9
 
+++ /etc/aliases.augnew
10
 
@@ -8,7 +8,7 @@
11
 
 #
12
 
 
13
 
 # Basic system aliases -- these MUST be present.
14
 
-mailer-daemon:\tpostmaster
15
 
+mailer-daemon:\tpostmaster, barbar
16
 
 postmaster:\troot
17
 
 
18
 
 # General redirections for pseudo accounts.
19
 
TXT