summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAntti-Juhani Kaijanaho <antti-juhani@kaijanaho.fi>2007-08-05 20:48:03 +0100
committerAntti-Juhani Kaijanaho <antti-juhani@kaijanaho.fi>2007-08-05 20:48:03 +0100
commit8a47761dc08ad0d567343941563060a2a05d722e (patch)
treef01ede6392e6d3d5eef2effac778990523b8a0a9 /tests
parentad6b9ed75a5f0c531fe0be4444e90dd0ec72040f (diff)
downloaddctrl-tools-8a47761dc08ad0d567343941563060a2a05d722e.tar.gz
join-dctrl: new option '-a'
With this new option, join-dctrl solves the following longstanding wishlist item. Closes: #136097 (grep-dctrl: Merging status and available would be helpful) Requested by Ben Armstrong <synrg@sanctuary.nslug.ns.ca>.
Diffstat (limited to 'tests')
-rw-r--r--tests/0008.out23
-rw-r--r--tests/0008.sh5
2 files changed, 28 insertions, 0 deletions
diff --git a/tests/0008.out b/tests/0008.out
new file mode 100644
index 0000000..545cea2
--- /dev/null
+++ b/tests/0008.out
@@ -0,0 +1,23 @@
+Package: aalib1
+Old-Version: 1.4p5-22
+
+Package: abiword
+Old-Version: 2.4.6-1.1
+New-Version: 2.4.6-1.1
+
+Package: abiword-common
+Old-Version: 2.4.6-1.1
+New-Version: 2.4.6-1.1
+
+Package: abiword-help
+Old-Version: 2.4.6-1.1
+New-Version: 2.4.6-1.1
+
+Package: abiword-plugins
+Old-Version: 2.4.6-0
+New-Version: 2.4.6-1.1
+
+Package: abiword-plugins-gnome
+Old-Version:
+New-Version: 2.4.6-1.1
+
diff --git a/tests/0008.sh b/tests/0008.sh
new file mode 100644
index 0000000..231f8a4
--- /dev/null
+++ b/tests/0008.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -e
+
+$JOIN_DCTRL -j Package -o 0,1.Version:Old-Version,2.Version:New-Version -a1 0007.stat 0007.pkg \ No newline at end of file