summaryrefslogtreecommitdiffstats
path: root/tdeabc/vcardparser/checkvcard.pl
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2016-09-26 21:20:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2016-09-26 21:20:31 +0900
commit13e032939ea40c33e4964b54bf755a6f1c9d70be (patch)
tree428b45e5f813f7d75284b9e60b1ed5d58cb4fb00 /tdeabc/vcardparser/checkvcard.pl
parent07dbb3b5c92ed22f71123eb84806d55f9962c60b (diff)
downloadtdelibs-13e032939ea40c33e4964b54bf755a6f1c9d70be.tar.gz
tdelibs-13e032939ea40c33e4964b54bf755a6f1c9d70be.zip
Fixed vcardparser tests during building. This resolves bug 2695.
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com> Removed not-required part of the patch from original Emanoil's patch (empty spaces at the end of line) Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeabc/vcardparser/checkvcard.pl')
-rwxr-xr-xtdeabc/vcardparser/checkvcard.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tdeabc/vcardparser/checkvcard.pl b/tdeabc/vcardparser/checkvcard.pl
index 1360972e6..b55097fdc 100755
--- a/tdeabc/vcardparser/checkvcard.pl
+++ b/tdeabc/vcardparser/checkvcard.pl
@@ -44,7 +44,8 @@ if ( $#refcont != $#prscont ) {
system "touch FAILED";
exit 1;
}
-
+@prscont = sort @prscont;
+@refcont = sort @refcont;
for (my $i=0; $i<=$#refcont; $i++) {
if ( $refcont[$i] ne $prscont[$i] ) {
$error++;