From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-projects commit in portage-utils/tests/qfile: dotest |
Date: | Tue, 01 Mar 2011 05:00:50 |
Message-Id: | 20110301050025.7BA9C2005C@flycatcher.gentoo.org |
1 | vapier 11/03/01 05:00:25 |
2 | |
3 | Modified: dotest |
4 | Log: |
5 | use new common code |
6 | |
7 | Revision Changes Path |
8 | 1.3 portage-utils/tests/qfile/dotest |
9 | |
10 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/qfile/dotest?rev=1.3&view=markup |
11 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/qfile/dotest?rev=1.3&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/qfile/dotest?r1=1.2&r2=1.3 |
13 | |
14 | Index: dotest |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-projects/portage-utils/tests/qfile/dotest,v |
17 | retrieving revision 1.2 |
18 | retrieving revision 1.3 |
19 | diff -u -r1.2 -r1.3 |
20 | --- dotest 13 Jan 2007 19:17:40 -0000 1.2 |
21 | +++ dotest 1 Mar 2011 05:00:25 -0000 1.3 |
22 | @@ -1,16 +1,16 @@ |
23 | #!/bin/bash |
24 | |
25 | -QFILE='../../q file' |
26 | +. ../init.sh |
27 | |
28 | TEST_CASES=( \ |
29 | - [1]="${QFILE} -Cq /bin/bash /bin/XXXXX" \ |
30 | - [2]="${QFILE} -Co /bin/bash /bin/XXXXX" \ |
31 | - [3]="echo -e \"/bin/bash\n/bin/XXXXX\" | ${QFILE} -Cq -f -" \ |
32 | - [4]="echo -e \"/bin/bash\n/bin/XXXXX\" | ${QFILE} -Co -f -" \ |
33 | - [5]="${QFILE} -Co -x bash /bin/bash" \ |
34 | - [6]="${QFILE} -Co -x app-shells/bash /bin/bash" \ |
35 | - [7]="${QFILE} -Co -x bash:0 /bin/bash" \ |
36 | - [8]="${QFILE} -Co -x app-shells/bash:0 /bin/bash" \ |
37 | + [1]="q file -Cq /bin/bash /bin/XXXXX" \ |
38 | + [2]="q file -Co /bin/bash /bin/XXXXX" \ |
39 | + [3]="echo -e \"/bin/bash\n/bin/XXXXX\" | q file -Cq -f -" \ |
40 | + [4]="echo -e \"/bin/bash\n/bin/XXXXX\" | q file -Co -f -" \ |
41 | + [5]="q file -Co -x bash /bin/bash" \ |
42 | + [6]="q file -Co -x app-shells/bash /bin/bash" \ |
43 | + [7]="q file -Co -x bash:0 /bin/bash" \ |
44 | + [8]="q file -Co -x app-shells/bash:0 /bin/bash" \ |
45 | ) |
46 | |
47 | EXPECTED_RESULTS=( \ |