File: control

package info (click to toggle)
libjodycode 4.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,664 kB
  • sloc: ansic: 2,810; makefile: 368; sh: 153; xml: 18
file content (36 lines) | stat: -rw-r--r-- 1,513 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Using libjodycode-dev instead of the
# runtime as a workaround for SONAME changes.

Test-Command: cp -a debian/tests/files/ $AUTOPKGTEST_TMP;
              jdupes -@1AHiprls $AUTOPKGTEST_TMP/files;
              tree -C $AUTOPKGTEST_TMP/ | grep -C50 list1| grep -C50 list7
Depends: libjodycode-dev, jdupes, tree:native

Test-Command: cp -a debian/tests/files/ $AUTOPKGTEST_TMP;
              jdupes -@rdNQzo time  -X size+:15 $AUTOPKGTEST_TMP/files;
              tree -C $AUTOPKGTEST_TMP/ | grep -C50 files
Depends: libjodycode-dev, jdupes, tree:native
Restrictions: allow-stderr

# Test for #1030933
Test-Command: jdupes -r xyz-123 2>&1 | grep "No duplicates found"
Depends: libjodycode-dev, jdupes

# Test for #1063079
Test-Command: cp debian/tests/files2.tar.gz $AUTOPKGTEST_TMP;
              cd $AUTOPKGTEST_TMP;
              tar -xvf files2.tar.gz;
              rm files2.tar.gz;
              JD1=$(jdupes -r files2/2/ files2/3/ | grep files2 | wc -l);
              JD2=$(jdupes -ru files2/2/ files2/3/ | wc -l);
              JDSUM=$((JD1 + JD2));
              if [ "$JDSUM" -ne "1200" ]; then echo "Error: Invalid sum. Expected 1200, but received $JDSUM."; exit 1; fi
Depends: libjodycode-dev, jdupes

# Another test for #1063079
Test-Command: cp debian/tests/files3.tar.gz $AUTOPKGTEST_TMP;
              cd $AUTOPKGTEST_TMP;
              tar -xvf files3.tar.gz;
              rm files3.tar.gz;
              jdupes -ru 1 2 | egrep -C3 '1/test' | egrep '2/test'
Depends: libjodycode-dev, jdupes