summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-02-09 14:16:29 +0200
committerPanu Matilainen <pmatilai@redhat.com>2012-02-09 14:16:29 +0200
commitda0091cfc754d84cd0f7f2d2711ebb7c073f892b (patch)
tree3d791832e9a674cf96422d933c7ea87173193998
parentdd5771bbd6d1153288cc127688cf4b99bc3226a2 (diff)
downloadrpm-da0091cfc754d84cd0f7f2d2711ebb7c073f892b.tar.gz
rpm-da0091cfc754d84cd0f7f2d2711ebb7c073f892b.tar.bz2
rpm-da0091cfc754d84cd0f7f2d2711ebb7c073f892b.zip
Also test that total size is calculated correctly wrt hardlinks
-rw-r--r--tests/rpmbuild.at3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rpmbuild.at b/tests/rpmbuild.at
index 517de72bf..20142a21f 100644
--- a/tests/rpmbuild.at
+++ b/tests/rpmbuild.at
@@ -137,7 +137,7 @@ runroot rpmbuild \
runroot rpm -i "${TOPDIR}"/RPMS/noarch/hlinktest-1.0-1.noarch.rpm
-runroot rpm -q --qf "[[%{filenlinks} %{filenames}\n]]" hlinktest
+runroot rpm -q --qf "[[%{filenlinks} %{filenames}\n]]%{longsize}\n" hlinktest
runroot rpm -V --nouser --nogroup hlinktest
ls -i "${RPMTEST}"/foo/hello* | awk {'print $1'} | sort -u | wc -l
@@ -148,6 +148,7 @@ ls -i "${RPMTEST}"/foo/hello* | awk {'print $1'} | sort -u | wc -l
4 /foo/hello-bar
4 /foo/hello-foo
4 /foo/hello-world
+78
1
],
[])