~ubuntu-branches/debian/sid/rpm/sid

« back to all changes in this revision

Viewing changes to tests/rpmtests

  • Committer: Package Import Robot
  • Author(s): Michal Čihař
  • Date: 2013-06-06 11:39:34 UTC
  • mfrom: (1.1.16)
  • Revision ID: package-import@ubuntu.com-20130606113934-ela3du14fyba0t6u
Tags: 4.11.0.1-1
* New upstream release.
* Bump standards to 3.9.4.
* Refresh patches, update patch from Fedora.
* Build with Lua 5.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
648
648
54;rpmi.at:102;rpm -U upgrade to newer;;
649
649
55;rpmi.at:125;rpm -U upgrade to older;;
650
650
56;rpmi.at:140;rpm -U --oldpackage downgrade;;
651
 
57;rpmi.at:156;rpm -U two versions of same package;;
652
 
58;rpmi.at:173;rpm -i two versions of same package;;
653
 
59;rpmi.at:192;rpm -i identical versions of same package;;
654
 
60;rpmi.at:210;rpm -U with invalid --relocate;install relocate;
655
 
61;rpmi.at:227;rpm -U --badreloc with invalid --relocate;install relocate;
656
 
62;rpmbuild.at:23;rpmbuild -ba *.spec;build;
657
 
63;rpmbuild.at:41;rpmbuild --rebuild;build;
658
 
64;rpmbuild.at:56;rpmbuild -tb <tar with bad spec>;build;
659
 
65;rpmbuild.at:73;rpmbuild -tb;build;
660
 
66;rpmbuild.at:88;rpmbuild %attr and %defattr;build;
661
 
67;rpmbuild.at:128;rpmbuild hardlink;build;
662
 
68;rpmscript.at:7;basic scripts and arguments;verify;
663
 
69;rpmvercmp.at:13;rpmvercmp(1.0, 1.0) = 0;vercmp;
664
 
70;rpmvercmp.at:14;rpmvercmp(1.0, 2.0) = -1;vercmp;
665
 
71;rpmvercmp.at:15;rpmvercmp(2.0, 1.0) = 1;vercmp;
666
 
72;rpmvercmp.at:17;rpmvercmp(2.0.1, 2.0.1) = 0;vercmp;
667
 
73;rpmvercmp.at:18;rpmvercmp(2.0, 2.0.1) = -1;vercmp;
668
 
74;rpmvercmp.at:19;rpmvercmp(2.0.1, 2.0) = 1;vercmp;
669
 
75;rpmvercmp.at:21;rpmvercmp(2.0.1a, 2.0.1a) = 0;vercmp;
670
 
76;rpmvercmp.at:22;rpmvercmp(2.0.1a, 2.0.1) = 1;vercmp;
671
 
77;rpmvercmp.at:23;rpmvercmp(2.0.1, 2.0.1a) = -1;vercmp;
672
 
78;rpmvercmp.at:25;rpmvercmp(5.5p1, 5.5p1) = 0;vercmp;
673
 
79;rpmvercmp.at:26;rpmvercmp(5.5p1, 5.5p2) = -1;vercmp;
674
 
80;rpmvercmp.at:27;rpmvercmp(5.5p2, 5.5p1) = 1;vercmp;
675
 
81;rpmvercmp.at:29;rpmvercmp(5.5p10, 5.5p10) = 0;vercmp;
676
 
82;rpmvercmp.at:30;rpmvercmp(5.5p1, 5.5p10) = -1;vercmp;
677
 
83;rpmvercmp.at:31;rpmvercmp(5.5p10, 5.5p1) = 1;vercmp;
678
 
84;rpmvercmp.at:33;rpmvercmp(10xyz, 10.1xyz) = -1;vercmp;
679
 
85;rpmvercmp.at:34;rpmvercmp(10.1xyz, 10xyz) = 1;vercmp;
680
 
86;rpmvercmp.at:36;rpmvercmp(xyz10, xyz10) = 0;vercmp;
681
 
87;rpmvercmp.at:37;rpmvercmp(xyz10, xyz10.1) = -1;vercmp;
682
 
88;rpmvercmp.at:38;rpmvercmp(xyz10.1, xyz10) = 1;vercmp;
683
 
89;rpmvercmp.at:40;rpmvercmp(xyz.4, xyz.4) = 0;vercmp;
684
 
90;rpmvercmp.at:41;rpmvercmp(xyz.4, 8) = -1;vercmp;
685
 
91;rpmvercmp.at:42;rpmvercmp(8, xyz.4) = 1;vercmp;
686
 
92;rpmvercmp.at:43;rpmvercmp(xyz.4, 2) = -1;vercmp;
687
 
93;rpmvercmp.at:44;rpmvercmp(2, xyz.4) = 1;vercmp;
688
 
94;rpmvercmp.at:46;rpmvercmp(5.5p2, 5.6p1) = -1;vercmp;
689
 
95;rpmvercmp.at:47;rpmvercmp(5.6p1, 5.5p2) = 1;vercmp;
690
 
96;rpmvercmp.at:49;rpmvercmp(5.6p1, 6.5p1) = -1;vercmp;
691
 
97;rpmvercmp.at:50;rpmvercmp(6.5p1, 5.6p1) = 1;vercmp;
692
 
98;rpmvercmp.at:52;rpmvercmp(6.0.rc1, 6.0) = 1;vercmp;
693
 
99;rpmvercmp.at:53;rpmvercmp(6.0, 6.0.rc1) = -1;vercmp;
694
 
100;rpmvercmp.at:55;rpmvercmp(10b2, 10a1) = 1;vercmp;
695
 
101;rpmvercmp.at:56;rpmvercmp(10a2, 10b2) = -1;vercmp;
696
 
102;rpmvercmp.at:58;rpmvercmp(1.0aa, 1.0aa) = 0;vercmp;
697
 
103;rpmvercmp.at:59;rpmvercmp(1.0a, 1.0aa) = -1;vercmp;
698
 
104;rpmvercmp.at:60;rpmvercmp(1.0aa, 1.0a) = 1;vercmp;
699
 
105;rpmvercmp.at:62;rpmvercmp(10.0001, 10.0001) = 0;vercmp;
700
 
106;rpmvercmp.at:63;rpmvercmp(10.0001, 10.1) = 0;vercmp;
701
 
107;rpmvercmp.at:64;rpmvercmp(10.1, 10.0001) = 0;vercmp;
702
 
108;rpmvercmp.at:65;rpmvercmp(10.0001, 10.0039) = -1;vercmp;
703
 
109;rpmvercmp.at:66;rpmvercmp(10.0039, 10.0001) = 1;vercmp;
704
 
110;rpmvercmp.at:68;rpmvercmp(4.999.9, 5.0) = -1;vercmp;
705
 
111;rpmvercmp.at:69;rpmvercmp(5.0, 4.999.9) = 1;vercmp;
706
 
112;rpmvercmp.at:71;rpmvercmp(20101121, 20101121) = 0;vercmp;
707
 
113;rpmvercmp.at:72;rpmvercmp(20101121, 20101122) = -1;vercmp;
708
 
114;rpmvercmp.at:73;rpmvercmp(20101122, 20101121) = 1;vercmp;
709
 
115;rpmvercmp.at:75;rpmvercmp(2_0, 2_0) = 0;vercmp;
710
 
116;rpmvercmp.at:76;rpmvercmp(2.0, 2_0) = 0;vercmp;
711
 
117;rpmvercmp.at:77;rpmvercmp(2_0, 2.0) = 0;vercmp;
712
 
118;rpmvercmp.at:80;rpmvercmp(a, a) = 0;vercmp;
713
 
119;rpmvercmp.at:81;rpmvercmp(a+, a+) = 0;vercmp;
714
 
120;rpmvercmp.at:82;rpmvercmp(a+, a_) = 0;vercmp;
715
 
121;rpmvercmp.at:83;rpmvercmp(a_, a+) = 0;vercmp;
716
 
122;rpmvercmp.at:84;rpmvercmp(+a, +a) = 0;vercmp;
717
 
123;rpmvercmp.at:85;rpmvercmp(+a, _a) = 0;vercmp;
718
 
124;rpmvercmp.at:86;rpmvercmp(_a, +a) = 0;vercmp;
719
 
125;rpmvercmp.at:87;rpmvercmp(+_, +_) = 0;vercmp;
720
 
126;rpmvercmp.at:88;rpmvercmp(_+, +_) = 0;vercmp;
721
 
127;rpmvercmp.at:89;rpmvercmp(_+, _+) = 0;vercmp;
722
 
128;rpmvercmp.at:90;rpmvercmp(+, _) = 0;vercmp;
723
 
129;rpmvercmp.at:91;rpmvercmp(_, +) = 0;vercmp;
724
 
130;rpmvercmp.at:94;rpmvercmp(1.0~rc1, 1.0~rc1) = 0;vercmp;
725
 
131;rpmvercmp.at:95;rpmvercmp(1.0~rc1, 1.0) = -1;vercmp;
726
 
132;rpmvercmp.at:96;rpmvercmp(1.0, 1.0~rc1) = 1;vercmp;
727
 
133;rpmvercmp.at:97;rpmvercmp(1.0~rc1, 1.0~rc2) = -1;vercmp;
728
 
134;rpmvercmp.at:98;rpmvercmp(1.0~rc2, 1.0~rc1) = 1;vercmp;
729
 
135;rpmvercmp.at:99;rpmvercmp(1.0~rc1~git123, 1.0~rc1~git123) = 0;vercmp;
730
 
136;rpmvercmp.at:100;rpmvercmp(1.0~rc1~git123, 1.0~rc1) = -1;vercmp;
731
 
137;rpmvercmp.at:101;rpmvercmp(1.0~rc1, 1.0~rc1~git123) = 1;vercmp;
732
 
138;rpmdeps.at:7;missing dependency;install;
733
 
139;rpmdeps.at:30;cross-depending packages;install;
734
 
140;rpmdeps.at:56;unsatisfied versioned require;install;
735
 
141;rpmdeps.at:84;satisfied versioned require;install;
736
 
142;rpmdeps.at:110;versioned conflict in transaction;install;
737
 
143;rpmdeps.at:137;versioned conflict in database;install;
738
 
144;rpmdeps.at:164;erase to break dependencies;install;
739
 
145;rpmdeps.at:192;erase to break colored file dependency;install;
740
 
146;rpmdeps.at:221;erase on wrong-colored file dependency;install;
741
 
147;rpmconflict.at:7;rpm -U to package with file conflict;install;
742
 
148;rpmconflict.at:31;rpm -U two packages with a conflicting file;install;
743
 
149;rpmconflict.at:48;rpm -U package with shareable file;install;
744
 
150;rpmconflict.at:72;rpm -U two packages with shareable file;install;
745
 
151;rpmconflict.at:89;rpm -U with non-conflicting identical basenames;install;
746
 
152;rpmconflict.at:107;rpm -U with conflicting identical basenames;install;
747
 
153;rpmconflict.at:127;rpm -U multilib elf conflict, prefer 64bit;install;
748
 
154;rpmconflict.at:147;rpm -U multilib elf conflict, prefer 32bit;install;
749
 
155;rpmconflict.at:167;rpm -U multilib elf vs non-elf file conflict 1;install;
750
 
156;rpmconflict.at:188;rpm -U multilib elf vs non-elf file conflict 2;install;
751
 
157;rpmconflict.at:213;rpm -U multilib elf vs non-elf file conflict 3;install;
752
 
158;rpmconflict.at:239;rpm -U replacing directory with symlink;install;
753
 
159;rpmconflict.at:267;rpm -U replacing symlink with directory;install;
754
 
160;rpmconflict.at:291;real file with shared ghost;install;
755
 
161;rpmconfig.at:7;rpm -U to package with unchanged config file;install;
756
 
162;rpmconfig.at:31;rpm -U to package with locally modified config file;install;
757
 
163;rpmconfig.at:56;rpm -U to package with unchanged config file;install;
758
 
164;rpmconfig.at:80;rpm -U to package with modified config file;install;
759
 
165;rpmconfig.at:107;install/upgrade/erase ghost config;install;
760
 
166;rpmmacro.at:6;simple rpm --eval;macros;
761
 
167;rpmmacro.at:16;simple true conditional rpm --eval;macros;
762
 
168;rpmmacro.at:26;simple false conditional rpm --eval;macros;
763
 
169;rpmmacro.at:36;uncompress macro;macros;
764
 
170;rpmmacro.at:48;basename macro;macros;
765
 
171;rpmmacro.at:59;suffix macro;macros;
766
 
172;rpmmacro.at:70;url2path macro;macros;
767
 
173;rpmmacro.at:81;shell expansion;macros;
768
 
174;rpmmacro.at:92;simple lua --eval;macros lua;
769
 
175;rpmmacro.at:102;lua rpm extensions;macros lua;
770
 
176;rpmmacro.at:112;lua posix extensions;macros lua;
771
 
177;rpmmacro.at:123;lua script exit behavior;macros lua;
772
 
178;rpmpython.at:6;module import;python;
773
 
179;rpmpython.at:12;macro manipulation;python;
774
 
180;rpmpython.at:35;basic rpmio;python;
775
 
181;rpmpython.at:70;spec parse;python;
776
 
182;rpmpython.at:85;basic header manipulation;python;
777
 
183;rpmpython.at:110;invalid header data;python;
778
 
184;rpmpython.at:129;reading a package file;python;
779
 
185;rpmpython.at:137;add package to transaction;python;
780
 
186;rpmpython.at:149;add bogus package to transaction 1;python;
781
 
187;rpmpython.at:163;add bogus package to transaction 2;python;
782
 
188;rpmpython.at:184;database iterators;python rpmdb;
783
 
189;rpmpython.at:256;dependency sets 1;python;
784
 
190;rpmpython.at:273;dependency sets 2;python;
785
 
191;rpmpython.at:283;file info sets 1;python;
786
 
192;rpmdepmatch.at:4;provide - require pairs;python;
 
651
57;rpmi.at:156;rpm -U two versions of same package 1;;
 
652
58;rpmi.at:176;rpm -U two versions of same package 2;;
 
653
59;rpmi.at:196;rpm -U obsoleted package 1;;
 
654
60;rpmi.at:225;rpm -U obsoleted package 2;;
 
655
61;rpmi.at:254;rpm -i two versions of same package;;
 
656
62;rpmi.at:273;rpm -i identical versions of same package;;
 
657
63;rpmi.at:291;rpm -U with invalid --relocate;install relocate;
 
658
64;rpmi.at:308;rpm -U --badreloc with invalid --relocate;install relocate;
 
659
65;rpmbuild.at:23;rpmbuild -ba *.spec;build;
 
660
66;rpmbuild.at:41;rpmbuild --rebuild;build;
 
661
67;rpmbuild.at:56;rpmbuild -tb <tar with bad spec>;build;
 
662
68;rpmbuild.at:73;rpmbuild -tb;build;
 
663
69;rpmbuild.at:88;rpmbuild %attr and %defattr;build;
 
664
70;rpmbuild.at:128;rpmbuild hardlink;build;
 
665
71;rpmbuild.at:157;rpmbuild glob;build;
 
666
72;rpmscript.at:7;basic scripts and arguments;verify;
 
667
73;rpmvercmp.at:13;rpmvercmp(1.0, 1.0) = 0;vercmp;
 
668
74;rpmvercmp.at:14;rpmvercmp(1.0, 2.0) = -1;vercmp;
 
669
75;rpmvercmp.at:15;rpmvercmp(2.0, 1.0) = 1;vercmp;
 
670
76;rpmvercmp.at:17;rpmvercmp(2.0.1, 2.0.1) = 0;vercmp;
 
671
77;rpmvercmp.at:18;rpmvercmp(2.0, 2.0.1) = -1;vercmp;
 
672
78;rpmvercmp.at:19;rpmvercmp(2.0.1, 2.0) = 1;vercmp;
 
673
79;rpmvercmp.at:21;rpmvercmp(2.0.1a, 2.0.1a) = 0;vercmp;
 
674
80;rpmvercmp.at:22;rpmvercmp(2.0.1a, 2.0.1) = 1;vercmp;
 
675
81;rpmvercmp.at:23;rpmvercmp(2.0.1, 2.0.1a) = -1;vercmp;
 
676
82;rpmvercmp.at:25;rpmvercmp(5.5p1, 5.5p1) = 0;vercmp;
 
677
83;rpmvercmp.at:26;rpmvercmp(5.5p1, 5.5p2) = -1;vercmp;
 
678
84;rpmvercmp.at:27;rpmvercmp(5.5p2, 5.5p1) = 1;vercmp;
 
679
85;rpmvercmp.at:29;rpmvercmp(5.5p10, 5.5p10) = 0;vercmp;
 
680
86;rpmvercmp.at:30;rpmvercmp(5.5p1, 5.5p10) = -1;vercmp;
 
681
87;rpmvercmp.at:31;rpmvercmp(5.5p10, 5.5p1) = 1;vercmp;
 
682
88;rpmvercmp.at:33;rpmvercmp(10xyz, 10.1xyz) = -1;vercmp;
 
683
89;rpmvercmp.at:34;rpmvercmp(10.1xyz, 10xyz) = 1;vercmp;
 
684
90;rpmvercmp.at:36;rpmvercmp(xyz10, xyz10) = 0;vercmp;
 
685
91;rpmvercmp.at:37;rpmvercmp(xyz10, xyz10.1) = -1;vercmp;
 
686
92;rpmvercmp.at:38;rpmvercmp(xyz10.1, xyz10) = 1;vercmp;
 
687
93;rpmvercmp.at:40;rpmvercmp(xyz.4, xyz.4) = 0;vercmp;
 
688
94;rpmvercmp.at:41;rpmvercmp(xyz.4, 8) = -1;vercmp;
 
689
95;rpmvercmp.at:42;rpmvercmp(8, xyz.4) = 1;vercmp;
 
690
96;rpmvercmp.at:43;rpmvercmp(xyz.4, 2) = -1;vercmp;
 
691
97;rpmvercmp.at:44;rpmvercmp(2, xyz.4) = 1;vercmp;
 
692
98;rpmvercmp.at:46;rpmvercmp(5.5p2, 5.6p1) = -1;vercmp;
 
693
99;rpmvercmp.at:47;rpmvercmp(5.6p1, 5.5p2) = 1;vercmp;
 
694
100;rpmvercmp.at:49;rpmvercmp(5.6p1, 6.5p1) = -1;vercmp;
 
695
101;rpmvercmp.at:50;rpmvercmp(6.5p1, 5.6p1) = 1;vercmp;
 
696
102;rpmvercmp.at:52;rpmvercmp(6.0.rc1, 6.0) = 1;vercmp;
 
697
103;rpmvercmp.at:53;rpmvercmp(6.0, 6.0.rc1) = -1;vercmp;
 
698
104;rpmvercmp.at:55;rpmvercmp(10b2, 10a1) = 1;vercmp;
 
699
105;rpmvercmp.at:56;rpmvercmp(10a2, 10b2) = -1;vercmp;
 
700
106;rpmvercmp.at:58;rpmvercmp(1.0aa, 1.0aa) = 0;vercmp;
 
701
107;rpmvercmp.at:59;rpmvercmp(1.0a, 1.0aa) = -1;vercmp;
 
702
108;rpmvercmp.at:60;rpmvercmp(1.0aa, 1.0a) = 1;vercmp;
 
703
109;rpmvercmp.at:62;rpmvercmp(10.0001, 10.0001) = 0;vercmp;
 
704
110;rpmvercmp.at:63;rpmvercmp(10.0001, 10.1) = 0;vercmp;
 
705
111;rpmvercmp.at:64;rpmvercmp(10.1, 10.0001) = 0;vercmp;
 
706
112;rpmvercmp.at:65;rpmvercmp(10.0001, 10.0039) = -1;vercmp;
 
707
113;rpmvercmp.at:66;rpmvercmp(10.0039, 10.0001) = 1;vercmp;
 
708
114;rpmvercmp.at:68;rpmvercmp(4.999.9, 5.0) = -1;vercmp;
 
709
115;rpmvercmp.at:69;rpmvercmp(5.0, 4.999.9) = 1;vercmp;
 
710
116;rpmvercmp.at:71;rpmvercmp(20101121, 20101121) = 0;vercmp;
 
711
117;rpmvercmp.at:72;rpmvercmp(20101121, 20101122) = -1;vercmp;
 
712
118;rpmvercmp.at:73;rpmvercmp(20101122, 20101121) = 1;vercmp;
 
713
119;rpmvercmp.at:75;rpmvercmp(2_0, 2_0) = 0;vercmp;
 
714
120;rpmvercmp.at:76;rpmvercmp(2.0, 2_0) = 0;vercmp;
 
715
121;rpmvercmp.at:77;rpmvercmp(2_0, 2.0) = 0;vercmp;
 
716
122;rpmvercmp.at:80;rpmvercmp(a, a) = 0;vercmp;
 
717
123;rpmvercmp.at:81;rpmvercmp(a+, a+) = 0;vercmp;
 
718
124;rpmvercmp.at:82;rpmvercmp(a+, a_) = 0;vercmp;
 
719
125;rpmvercmp.at:83;rpmvercmp(a_, a+) = 0;vercmp;
 
720
126;rpmvercmp.at:84;rpmvercmp(+a, +a) = 0;vercmp;
 
721
127;rpmvercmp.at:85;rpmvercmp(+a, _a) = 0;vercmp;
 
722
128;rpmvercmp.at:86;rpmvercmp(_a, +a) = 0;vercmp;
 
723
129;rpmvercmp.at:87;rpmvercmp(+_, +_) = 0;vercmp;
 
724
130;rpmvercmp.at:88;rpmvercmp(_+, +_) = 0;vercmp;
 
725
131;rpmvercmp.at:89;rpmvercmp(_+, _+) = 0;vercmp;
 
726
132;rpmvercmp.at:90;rpmvercmp(+, _) = 0;vercmp;
 
727
133;rpmvercmp.at:91;rpmvercmp(_, +) = 0;vercmp;
 
728
134;rpmvercmp.at:94;rpmvercmp(1.0~rc1, 1.0~rc1) = 0;vercmp;
 
729
135;rpmvercmp.at:95;rpmvercmp(1.0~rc1, 1.0) = -1;vercmp;
 
730
136;rpmvercmp.at:96;rpmvercmp(1.0, 1.0~rc1) = 1;vercmp;
 
731
137;rpmvercmp.at:97;rpmvercmp(1.0~rc1, 1.0~rc2) = -1;vercmp;
 
732
138;rpmvercmp.at:98;rpmvercmp(1.0~rc2, 1.0~rc1) = 1;vercmp;
 
733
139;rpmvercmp.at:99;rpmvercmp(1.0~rc1~git123, 1.0~rc1~git123) = 0;vercmp;
 
734
140;rpmvercmp.at:100;rpmvercmp(1.0~rc1~git123, 1.0~rc1) = -1;vercmp;
 
735
141;rpmvercmp.at:101;rpmvercmp(1.0~rc1, 1.0~rc1~git123) = 1;vercmp;
 
736
142;rpmdeps.at:7;missing dependency;install;
 
737
143;rpmdeps.at:30;cross-depending packages;install;
 
738
144;rpmdeps.at:56;unsatisfied versioned require;install;
 
739
145;rpmdeps.at:84;satisfied versioned require;install;
 
740
146;rpmdeps.at:110;versioned conflict in transaction;install;
 
741
147;rpmdeps.at:137;versioned conflict in database;install;
 
742
148;rpmdeps.at:164;erase to break dependencies;install;
 
743
149;rpmdeps.at:192;erase to break colored file dependency;install;
 
744
150;rpmdeps.at:221;erase on wrong-colored file dependency;install;
 
745
151;rpmconflict.at:7;package with file conflict;install;
 
746
152;rpmconflict.at:31;two packages with a conflicting file;install;
 
747
153;rpmconflict.at:48;package with shareable file;install;
 
748
154;rpmconflict.at:72;two packages with shareable file;install;
 
749
155;rpmconflict.at:89;non-conflicting identical basenames;install;
 
750
156;rpmconflict.at:107;conflicting identical basenames;install;
 
751
157;rpmconflict.at:127;multilib elf conflict, prefer 64bit 1;install;
 
752
158;rpmconflict.at:149;multilib elf conflict, prefer 64bit 2;install;
 
753
159;rpmconflict.at:176;multilib elf conflict, prefer 64bit 3;install;
 
754
160;rpmconflict.at:203;multilib elf conflict, prefer 32bit 1;install;
 
755
161;rpmconflict.at:225;multilib elf conflict, prefer 32bit 2;install;
 
756
162;rpmconflict.at:252;multilib elf conflict, prefer 32bit 3;install;
 
757
163;rpmconflict.at:279;multilib elf vs non-elf file conflict 1;install;
 
758
164;rpmconflict.at:300;multilib elf vs non-elf file conflict 2;install;
 
759
165;rpmconflict.at:325;multilib elf vs non-elf file conflict 3;install;
 
760
166;rpmconflict.at:351;replacing directory with symlink;install;
 
761
167;rpmconflict.at:375;replacing symlink with directory;install;
 
762
168;rpmconflict.at:400;real file with shared ghost;install;
 
763
169;rpmreplace.at:4;upgrade to/from regular file;install;
 
764
170;rpmreplace.at:40;upgrade regular file to/from broken link;install;
 
765
171;rpmreplace.at:76;upgrade regular file to/from file link;install;
 
766
172;rpmreplace.at:112;upgrade broken link to broken link;install;
 
767
173;rpmreplace.at:145;upgrade file link to file link;install;
 
768
174;rpmreplace.at:178;upgrade directory link to directory link;install;
 
769
175;rpmreplace.at:211;upgrade regular file to directory;install;
 
770
176;rpmreplace.at:242;upgrade broken link to directory;install;
 
771
177;rpmreplace.at:273;upgrade file link to directory;install;
 
772
178;rpmreplace.at:304;upgrade directory link to directory;install;
 
773
179;rpmreplace.at:335;upgrade empty directory to empty directory;install;
 
774
180;rpmreplace.at:363;upgrade empty directory to regular file;install;
 
775
181;rpmreplace.at:392;upgrade locally symlinked directory;install;
 
776
182;rpmreplace.at:424;upgrade empty directory to broken link;install;
 
777
183;rpmreplace.at:453;upgrade empty directory to file link;install;
 
778
184;rpmreplace.at:482;upgrade removed empty directory to file link;install;
 
779
185;rpmreplace.at:512;upgrade replaced empty directory to file link;install;
 
780
186;rpmreplace.at:542;upgrade empty directory to file link with pretrans;install;
 
781
187;rpmconfig.at:6;install config on existiting file;install;
 
782
188;rpmconfig.at:35;install config(noreplace) on existiting file;install;
 
783
189;rpmconfig.at:64;install config on existiting identical file;install;
 
784
190;rpmconfig.at:91;erase unchanged config;install;
 
785
191;rpmconfig.at:117;erase changed config;install;
 
786
192;rpmconfig.at:147;erase changed config(noreplace);install;
 
787
193;rpmconfig.at:179;upgrade unchanged config;install;
 
788
194;rpmconfig.at:209;upgrade modified config;install;
 
789
195;rpmconfig.at:242;upgrade changing config;install;
 
790
196;rpmconfig.at:272;upgrade changing, modified config 1;install;
 
791
197;rpmconfig.at:308;upgrade changing, modified config 2;install;
 
792
198;rpmconfig.at:343;upgrade unchanged config(noreplace);install;
 
793
199;rpmconfig.at:375;upgrade modified config(noreplace);install;
 
794
200;rpmconfig.at:409;upgrade changing config(noreplace);install;
 
795
201;rpmconfig.at:440;upgrade changing, modified config(noreplace) 1;install;
 
796
202;rpmconfig.at:477;upgrade changing, modified config(noreplace) 2;install;
 
797
203;rpmconfig.at:512;upgrade unchanged shared config;install;
 
798
204;rpmconfig.at:550;upgrade modified shared config;install;
 
799
205;rpmconfig.at:590;upgrade changing shared config;install;
 
800
206;rpmconfig.at:627;upgrade changing, modified shared config 1;install;
 
801
207;rpmconfig.at:670;upgrade changing, modified shared config 2;install;
 
802
208;rpmconfig.at:711;upgrade changing, modified shared config(noreplace) 1;install;
 
803
209;rpmconfig.at:755;upgrade changing, modified shared config(noreplace) 2;install;
 
804
210;rpmconfig.at:796;install/upgrade/erase ghost config;install;
 
805
211;rpmconfig2.at:6;install config on existiting symlink;install;
 
806
212;rpmconfig2.at:36;install config on existiting identical link;install;
 
807
213;rpmconfig2.at:66;erase unchanged config link;install;
 
808
214;rpmconfig2.at:93;erase changed config link;install;
 
809
215;rpmconfig2.at:124;upgrade unchanged config link;install;
 
810
216;rpmconfig2.at:156;upgrade modified config link;install;
 
811
217;rpmconfig2.at:190;upgrade changing config link;install;
 
812
218;rpmconfig2.at:221;upgrade changing, modified config link 1;install;
 
813
219;rpmconfig2.at:258;upgrade changing, modified config link 2;install;
 
814
220;rpmconfig2.at:294;upgrade unchanged config(noreplace) link;install;
 
815
221;rpmconfig2.at:327;upgrade modified config(noreplace) link;install;
 
816
222;rpmconfig2.at:362;upgrade changing config(noreplace) link;install;
 
817
223;rpmconfig2.at:394;upgrade changing, modified config(noreplace) link 1;install;
 
818
224;rpmconfig2.at:432;upgrade changing, modified config(noreplace) link 2;install;
 
819
225;rpmconfig2.at:469;upgrade unchanged shared config link;install;
 
820
226;rpmconfig2.at:508;upgrade modified shared config link;install;
 
821
227;rpmconfig2.at:549;upgrade changing shared config link;install;
 
822
228;rpmconfig2.at:587;upgrade changing, modified shared config link 1;install;
 
823
229;rpmconfig2.at:631;upgrade changing, modified shared config link 2;install;
 
824
230;rpmconfig2.at:673;upgrade changing, modified shared config(noreplace) link 1;install;
 
825
231;rpmconfig2.at:718;upgrade changing, modified shared config(noreplace) link 2;install;
 
826
232;rpmconfig3.at:6;upgrade config to/from non-config;install;
 
827
233;rpmconfig3.at:44;upgrade modified config to/from non-config 1;install;
 
828
234;rpmconfig3.at:88;upgrade modified config to/from non-config 2;install;
 
829
235;rpmconfig3.at:129;upgrade config to/from config link;install;
 
830
236;rpmconfig3.at:166;upgrade modified config to config link;install;
 
831
237;rpmconfig3.at:206;upgrade modified config link to config;install;
 
832
238;rpmconfig3.at:246;upgrade config to directory;install;
 
833
239;rpmconfig3.at:278;upgrade modified config to directory;install;
 
834
240;rpmmacro.at:6;simple rpm --eval;macros;
 
835
241;rpmmacro.at:16;simple true conditional rpm --eval;macros;
 
836
242;rpmmacro.at:26;simple false conditional rpm --eval;macros;
 
837
243;rpmmacro.at:36;uncompress macro;macros;
 
838
244;rpmmacro.at:48;basename macro;macros;
 
839
245;rpmmacro.at:59;suffix macro;macros;
 
840
246;rpmmacro.at:70;url2path macro;macros;
 
841
247;rpmmacro.at:81;shell expansion;macros;
 
842
248;rpmmacro.at:92;simple lua --eval;macros lua;
 
843
249;rpmmacro.at:102;lua rpm extensions;macros lua;
 
844
250;rpmmacro.at:112;lua posix extensions;macros lua;
 
845
251;rpmmacro.at:123;lua script exit behavior;macros lua;
 
846
252;rpmpython.at:6;module import;python;
 
847
253;rpmpython.at:12;macro manipulation;python;
 
848
254;rpmpython.at:35;basic rpmio;python;
 
849
255;rpmpython.at:70;spec parse;python;
 
850
256;rpmpython.at:85;basic header manipulation;python;
 
851
257;rpmpython.at:110;invalid header data;python;
 
852
258;rpmpython.at:129;reading a package file;python;
 
853
259;rpmpython.at:137;add package to transaction;python;
 
854
260;rpmpython.at:149;add bogus package to transaction 1;python;
 
855
261;rpmpython.at:163;add bogus package to transaction 2;python;
 
856
262;rpmpython.at:184;database iterators;python rpmdb;
 
857
263;rpmpython.at:256;dependency sets 1;python;
 
858
264;rpmpython.at:273;dependency sets 2;python;
 
859
265;rpmpython.at:283;file info sets 1;python;
 
860
266;rpmdepmatch.at:4;provide - require pairs;python;
787
861
"
788
862
# List of the all the test groups.
789
863
at_groups_all=`$as_echo "$at_help_all" | sed 's/;.*//'`
797
871
  for at_grp
798
872
  do
799
873
    eval at_value=\$$at_grp
800
 
    if test $at_value -lt 1 || test $at_value -gt 192; then
 
874
    if test $at_value -lt 1 || test $at_value -gt 266; then
801
875
      $as_echo "invalid test group: $at_value" >&2
802
876
      exit 1
803
877
    fi
1095
1169
# List of tests.
1096
1170
if $at_list_p; then
1097
1171
  cat <<_ATEOF || at_write_fail=1
1098
 
rpm 4.10.3.1 test suite test groups:
 
1172
rpm 4.11.0.1 test suite test groups:
1099
1173
 
1100
1174
 NUM: FILE-NAME:LINE     TEST-GROUP-NAME
1101
1175
      KEYWORDS
1136
1210
  exit $at_write_fail
1137
1211
fi
1138
1212
if $at_version_p; then
1139
 
  $as_echo "$as_me (rpm 4.10.3.1)" &&
 
1213
  $as_echo "$as_me (rpm 4.11.0.1)" &&
1140
1214
  cat <<\_ATEOF || at_write_fail=1
1141
1215
 
1142
1216
Copyright (C) 2012 Free Software Foundation, Inc.
1169
1243
# Category starts at test group 49.
1170
1244
at_banner_text_5="RPM install tests"
1171
1245
# Banner 6. rpmbuild.at:19
1172
 
# Category starts at test group 62.
 
1246
# Category starts at test group 65.
1173
1247
at_banner_text_6="RPM build"
1174
1248
# Banner 7. rpmscript.at:3
1175
 
# Category starts at test group 68.
 
1249
# Category starts at test group 72.
1176
1250
at_banner_text_7="RPM scriptlets"
1177
1251
# Banner 8. rpmvercmp.at:11
1178
 
# Category starts at test group 69.
 
1252
# Category starts at test group 73.
1179
1253
at_banner_text_8="RPM version comparison"
1180
1254
# Banner 9. rpmdeps.at:3
1181
 
# Category starts at test group 138.
 
1255
# Category starts at test group 142.
1182
1256
at_banner_text_9="RPM dependencies"
1183
1257
# Banner 10. rpmconflict.at:3
1184
 
# Category starts at test group 147.
 
1258
# Category starts at test group 151.
1185
1259
at_banner_text_10="RPM file conflicts"
1186
 
# Banner 11. rpmconfig.at:3
1187
 
# Category starts at test group 161.
1188
 
at_banner_text_11="RPM config file behavior"
1189
 
# Banner 12. rpmmacro.at:3
1190
 
# Category starts at test group 166.
1191
 
at_banner_text_12="RPM macros"
1192
 
# Banner 13. rpmpython.at:4
1193
 
# Category starts at test group 178.
1194
 
at_banner_text_13="Python bindings"
1195
 
# Banner 14. rpmdepmatch.at:2
1196
 
# Category starts at test group 192.
1197
 
at_banner_text_14="RPM dependency matching"
 
1260
# Banner 11. rpmreplace.at:2
 
1261
# Category starts at test group 169.
 
1262
at_banner_text_11="RPM file replacement"
 
1263
# Banner 12. rpmconfig.at:3
 
1264
# Category starts at test group 187.
 
1265
at_banner_text_12="RPM config file behavior"
 
1266
# Banner 13. rpmconfig2.at:3
 
1267
# Category starts at test group 211.
 
1268
at_banner_text_13="RPM config symlink behavior"
 
1269
# Banner 14. rpmconfig3.at:3
 
1270
# Category starts at test group 232.
 
1271
at_banner_text_14="RPM config filetype changes"
 
1272
# Banner 15. rpmmacro.at:3
 
1273
# Category starts at test group 240.
 
1274
at_banner_text_15="RPM macros"
 
1275
# Banner 16. rpmpython.at:4
 
1276
# Category starts at test group 252.
 
1277
at_banner_text_16="Python bindings"
 
1278
# Banner 17. rpmdepmatch.at:2
 
1279
# Category starts at test group 266.
 
1280
at_banner_text_17="RPM dependency matching"
1198
1281
 
1199
1282
# Take any -C into account.
1200
1283
if $at_change_dir ; then
1355
1438
 
1356
1439
# Banners and logs.
1357
1440
$as_echo "## ------------------------ ##
1358
 
## rpm 4.10.3.1 test suite. ##
 
1441
## rpm 4.11.0.1 test suite. ##
1359
1442
## ------------------------ ##"
1360
1443
{
1361
1444
  $as_echo "## ------------------------ ##
1362
 
## rpm 4.10.3.1 test suite. ##
 
1445
## rpm 4.11.0.1 test suite. ##
1363
1446
## ------------------------ ##"
1364
1447
  echo
1365
1448
 
2203
2286
  $as_echo "Please send $at_msg and all information you think might help:
2204
2287
 
2205
2288
   To: <rpm-maint@lists.rpm.org>
2206
 
   Subject: [rpm 4.10.3.1] $as_me: $at_fail_list${at_fail_list:+ failed${at_xpass_list:+, }}$at_xpass_list${at_xpass_list:+ passed unexpectedly}
 
2289
   Subject: [rpm 4.11.0.1] $as_me: $at_fail_list${at_fail_list:+ failed${at_xpass_list:+, }}$at_xpass_list${at_xpass_list:+ passed unexpectedly}
2207
2290
 
2208
2291
You may investigate any problem if you feel able to do so, in which
2209
2292
case the test suite provides a good starting point.  Its output may
2234
2317
at_status=$? at_failed=false
2235
2318
$at_check_filter
2236
2319
at_fn_diff_devnull "$at_stderr" || at_failed=:
2237
 
echo >>"$at_stdout"; $as_echo "RPM version 4.10.3.1
 
2320
echo >>"$at_stdout"; $as_echo "RPM version 4.11.0.1
2238
2321
" | \
2239
2322
  $at_diff - "$at_stdout" || at_failed=:
2240
2323
at_fn_check_status 0 $at_status "$at_srcdir/rpmgeneral.at:24"
2263
2346
at_status=$? at_failed=false
2264
2347
$at_check_filter
2265
2348
at_fn_diff_devnull "$at_stderr" || at_failed=:
2266
 
echo >>"$at_stdout"; $as_echo "RPM version 4.10.3.1
 
2349
echo >>"$at_stdout"; $as_echo "RPM version 4.11.0.1
2267
2350
" | \
2268
2351
  $at_diff - "$at_stdout" || at_failed=:
2269
2352
at_fn_check_status 0 $at_status "$at_srcdir/rpmgeneral.at:33"
4490
4573
runroot rpm --initdb
4491
4574
 
4492
4575
rm -rf \"\${TOPDIR}\"
4493
 
rm -rf \"\${RPMTEST}\"/opt/mydir
 
4576
rm -rf \"\${RPMTEST}\"/opt/*
4494
4577
 
4495
4578
runroot rpmbuild --quiet -bb /data/SPECS/selfconflict.spec
4496
4579
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/selfconflict-1.0-1.noarch.rpm
4505
4588
runroot rpm --initdb
4506
4589
 
4507
4590
rm -rf "${TOPDIR}"
4508
 
rm -rf "${RPMTEST}"/opt/mydir
 
4591
rm -rf "${RPMTEST}"/opt/*
4509
4592
 
4510
4593
runroot rpmbuild --quiet -bb /data/SPECS/selfconflict.spec
4511
4594
runroot rpm -U "${TOPDIR}"/RPMS/noarch/selfconflict-1.0-1.noarch.rpm
4545
4628
runroot rpm --initdb
4546
4629
 
4547
4630
rm -rf \"\${TOPDIR}\"
4548
 
rm -rf \"\${RPMTEST}\"/opt/mydir
 
4631
rm -rf \"\${RPMTEST}\"/opt/*
4549
4632
 
4550
4633
runroot rpmbuild --quiet -bb /data/SPECS/selfconflict.spec
4551
4634
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/selfconflict-1.0-1.noarch.rpm
4561
4644
runroot rpm --initdb
4562
4645
 
4563
4646
rm -rf "${TOPDIR}"
4564
 
rm -rf "${RPMTEST}"/opt/mydir
 
4647
rm -rf "${RPMTEST}"/opt/*
4565
4648
 
4566
4649
runroot rpmbuild --quiet -bb /data/SPECS/selfconflict.spec
4567
4650
runroot rpm -U "${TOPDIR}"/RPMS/noarch/selfconflict-1.0-1.noarch.rpm
4945
5028
#AT_STOP_56
4946
5029
#AT_START_57
4947
5030
at_fn_group_banner 57 'rpmi.at:156' \
4948
 
  "rpm -U two versions of same package" "            " 5
 
5031
  "rpm -U two versions of same package 1" "          " 5
4949
5032
at_xfail=no
4950
5033
(
4951
5034
  $as_echo "57. $at_setup_line: testing $at_desc ..."
4960
5043
runroot rpm --initdb
4961
5044
 
4962
5045
 
4963
 
runroot rpm -U \\
 
5046
runroot rpm -Uv \\
4964
5047
  \"\${TOPDIR}\"/RPMS/noarch/versiontest-1.0-1.noarch.rpm \\
4965
5048
  \"\${TOPDIR}\"/RPMS/noarch/versiontest-2.0-1.noarch.rpm
4966
5049
runroot rpm -q versiontest
4974
5057
runroot rpm --initdb
4975
5058
 
4976
5059
 
4977
 
runroot rpm -U \
 
5060
runroot rpm -Uv \
4978
5061
  "${TOPDIR}"/RPMS/noarch/versiontest-1.0-1.noarch.rpm \
4979
5062
  "${TOPDIR}"/RPMS/noarch/versiontest-2.0-1.noarch.rpm
4980
5063
runroot rpm -q versiontest
4982
5065
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4983
5066
at_status=$? at_failed=false
4984
5067
$at_check_filter
4985
 
at_fn_diff_devnull "$at_stderr" || at_failed=:
4986
 
echo >>"$at_stdout"; $as_echo "versiontest-2.0-1.noarch
 
5068
echo >>"$at_stderr"; $as_echo "warning: package versiontest-1.0-1.noarch was already added, replacing with versiontest-2.0-1.noarch
 
5069
" | \
 
5070
  $at_diff - "$at_stderr" || at_failed=:
 
5071
echo >>"$at_stdout"; $as_echo "Preparing packages...
 
5072
versiontest-2.0-1.noarch
 
5073
versiontest-2.0-1.noarch
4987
5074
" | \
4988
5075
  $at_diff - "$at_stdout" || at_failed=:
4989
5076
at_fn_check_status 0 $at_status "$at_srcdir/rpmi.at:157"
4996
5083
read at_status <"$at_status_file"
4997
5084
#AT_STOP_57
4998
5085
#AT_START_58
4999
 
at_fn_group_banner 58 'rpmi.at:173' \
5000
 
  "rpm -i two versions of same package" "            " 5
 
5086
at_fn_group_banner 58 'rpmi.at:176' \
 
5087
  "rpm -U two versions of same package 2" "          " 5
5001
5088
at_xfail=no
5002
5089
(
5003
5090
  $as_echo "58. $at_setup_line: testing $at_desc ..."
5004
5091
  $at_traceon
5005
5092
 
5006
5093
{ set +x
5007
 
$as_echo "$at_srcdir/rpmi.at:174:
 
5094
$as_echo "$at_srcdir/rpmi.at:177:
5008
5095
 
5009
5096
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
5010
5097
 
5012
5099
runroot rpm --initdb
5013
5100
 
5014
5101
 
5015
 
runroot rpm -i \\
5016
 
  \"\${TOPDIR}\"/RPMS/noarch/versiontest-1.0-1.noarch.rpm \\
5017
 
  \"\${TOPDIR}\"/RPMS/noarch/versiontest-2.0-1.noarch.rpm
 
5102
runroot rpm -Uv \\
 
5103
  \"\${TOPDIR}\"/RPMS/noarch/versiontest-2.0-1.noarch.rpm \\
 
5104
  \"\${TOPDIR}\"/RPMS/noarch/versiontest-1.0-1.noarch.rpm
5018
5105
runroot rpm -q versiontest
5019
5106
"
5020
 
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmi.at:174"
 
5107
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmi.at:177"
5021
5108
( $at_check_trace;
5022
5109
 
5023
5110
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
5026
5113
runroot rpm --initdb
5027
5114
 
5028
5115
 
5029
 
runroot rpm -i \
5030
 
  "${TOPDIR}"/RPMS/noarch/versiontest-1.0-1.noarch.rpm \
5031
 
  "${TOPDIR}"/RPMS/noarch/versiontest-2.0-1.noarch.rpm
 
5116
runroot rpm -Uv \
 
5117
  "${TOPDIR}"/RPMS/noarch/versiontest-2.0-1.noarch.rpm \
 
5118
  "${TOPDIR}"/RPMS/noarch/versiontest-1.0-1.noarch.rpm
5032
5119
runroot rpm -q versiontest
5033
5120
 
5034
5121
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5035
5122
at_status=$? at_failed=false
5036
5123
$at_check_filter
5037
 
at_fn_diff_devnull "$at_stderr" || at_failed=:
5038
 
echo >>"$at_stdout"; $as_echo "versiontest-2.0-1.noarch
5039
 
versiontest-1.0-1.noarch
 
5124
echo >>"$at_stderr"; $as_echo "warning: package versiontest-2.0-1.noarch was already added, skipping versiontest-1.0-1.noarch
 
5125
" | \
 
5126
  $at_diff - "$at_stderr" || at_failed=:
 
5127
echo >>"$at_stdout"; $as_echo "Preparing packages...
 
5128
versiontest-2.0-1.noarch
 
5129
versiontest-2.0-1.noarch
5040
5130
" | \
5041
5131
  $at_diff - "$at_stdout" || at_failed=:
5042
 
at_fn_check_status 0 $at_status "$at_srcdir/rpmi.at:174"
 
5132
at_fn_check_status 0 $at_status "$at_srcdir/rpmi.at:177"
5043
5133
$at_failed && at_fn_log_failure
5044
5134
$at_traceon; }
5045
5135
 
5049
5139
read at_status <"$at_status_file"
5050
5140
#AT_STOP_58
5051
5141
#AT_START_59
5052
 
at_fn_group_banner 59 'rpmi.at:192' \
5053
 
  "rpm -i identical versions of same package" "      " 5
 
5142
at_fn_group_banner 59 'rpmi.at:196' \
 
5143
  "rpm -U obsoleted package 1" "                     " 5
5054
5144
at_xfail=no
5055
5145
(
5056
5146
  $as_echo "59. $at_setup_line: testing $at_desc ..."
5057
5147
  $at_traceon
5058
5148
 
5059
5149
{ set +x
5060
 
$as_echo "$at_srcdir/rpmi.at:193:
 
5150
$as_echo "$at_srcdir/rpmi.at:197:
5061
5151
 
5062
5152
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
5063
5153
 
5065
5155
runroot rpm --initdb
5066
5156
 
5067
5157
 
5068
 
runroot rpm -i \\
5069
 
  \"\${TOPDIR}\"/RPMS/noarch/versiontest-1.0-1.noarch.rpm \\
5070
 
  \"\${TOPDIR}\"/RPMS/noarch/versiontest-1.0-1.noarch.rpm
5071
 
runroot rpm -q versiontest
 
5158
runroot rpmbuild --quiet -bb \\
 
5159
        --define \"pkg one\" \\
 
5160
        --define \"obs deptest-two\" \\
 
5161
        /data/SPECS/deptest.spec
 
5162
runroot rpmbuild --quiet -bb \\
 
5163
        --define \"pkg two\" \\
 
5164
        /data/SPECS/deptest.spec
 
5165
 
 
5166
 
 
5167
runroot rpm -Uv \\
 
5168
  \"\${TOPDIR}\"/RPMS/noarch/deptest-two-1.0-1.noarch.rpm \\
 
5169
  \"\${TOPDIR}\"/RPMS/noarch/deptest-one-1.0-1.noarch.rpm
 
5170
runroot rpm -q deptest-one
5072
5171
"
5073
 
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmi.at:193"
 
5172
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmi.at:197"
5074
5173
( $at_check_trace;
5075
5174
 
5076
5175
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
5079
5178
runroot rpm --initdb
5080
5179
 
5081
5180
 
5082
 
runroot rpm -i \
5083
 
  "${TOPDIR}"/RPMS/noarch/versiontest-1.0-1.noarch.rpm \
5084
 
  "${TOPDIR}"/RPMS/noarch/versiontest-1.0-1.noarch.rpm
5085
 
runroot rpm -q versiontest
 
5181
runroot rpmbuild --quiet -bb \
 
5182
        --define "pkg one" \
 
5183
        --define "obs deptest-two" \
 
5184
        /data/SPECS/deptest.spec
 
5185
runroot rpmbuild --quiet -bb \
 
5186
        --define "pkg two" \
 
5187
        /data/SPECS/deptest.spec
 
5188
 
 
5189
 
 
5190
runroot rpm -Uv \
 
5191
  "${TOPDIR}"/RPMS/noarch/deptest-two-1.0-1.noarch.rpm \
 
5192
  "${TOPDIR}"/RPMS/noarch/deptest-one-1.0-1.noarch.rpm
 
5193
runroot rpm -q deptest-one
5086
5194
 
5087
5195
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5088
5196
at_status=$? at_failed=false
5089
5197
$at_check_filter
5090
 
at_fn_diff_devnull "$at_stderr" || at_failed=:
5091
 
echo >>"$at_stdout"; $as_echo "versiontest-1.0-1.noarch
 
5198
echo >>"$at_stderr"; $as_echo "warning: package deptest-two-1.0-1.noarch was already added, replacing with deptest-one-1.0-1.noarch
 
5199
" | \
 
5200
  $at_diff - "$at_stderr" || at_failed=:
 
5201
echo >>"$at_stdout"; $as_echo "Preparing packages...
 
5202
deptest-one-1.0-1.noarch
 
5203
deptest-one-1.0-1.noarch
5092
5204
" | \
5093
5205
  $at_diff - "$at_stdout" || at_failed=:
5094
 
at_fn_check_status 0 $at_status "$at_srcdir/rpmi.at:193"
 
5206
at_fn_check_status 0 $at_status "$at_srcdir/rpmi.at:197"
5095
5207
$at_failed && at_fn_log_failure
5096
5208
$at_traceon; }
5097
5209
 
5101
5213
read at_status <"$at_status_file"
5102
5214
#AT_STOP_59
5103
5215
#AT_START_60
5104
 
at_fn_group_banner 60 'rpmi.at:210' \
 
5216
at_fn_group_banner 60 'rpmi.at:225' \
 
5217
  "rpm -U obsoleted package 2" "                     " 5
 
5218
at_xfail=no
 
5219
(
 
5220
  $as_echo "60. $at_setup_line: testing $at_desc ..."
 
5221
  $at_traceon
 
5222
 
 
5223
{ set +x
 
5224
$as_echo "$at_srcdir/rpmi.at:226:
 
5225
 
 
5226
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
5227
 
 
5228
 
 
5229
runroot rpm --initdb
 
5230
 
 
5231
 
 
5232
runroot rpmbuild --quiet -bb \\
 
5233
        --define \"pkg one\" \\
 
5234
        --define \"obs deptest-two\" \\
 
5235
        /data/SPECS/deptest.spec
 
5236
runroot rpmbuild --quiet -bb \\
 
5237
        --define \"pkg two\" \\
 
5238
        /data/SPECS/deptest.spec
 
5239
 
 
5240
 
 
5241
runroot rpm -Uv \\
 
5242
  \"\${TOPDIR}\"/RPMS/noarch/deptest-one-1.0-1.noarch.rpm \\
 
5243
  \"\${TOPDIR}\"/RPMS/noarch/deptest-two-1.0-1.noarch.rpm
 
5244
runroot rpm -q deptest-one
 
5245
"
 
5246
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmi.at:226"
 
5247
( $at_check_trace;
 
5248
 
 
5249
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
5250
 
 
5251
 
 
5252
runroot rpm --initdb
 
5253
 
 
5254
 
 
5255
runroot rpmbuild --quiet -bb \
 
5256
        --define "pkg one" \
 
5257
        --define "obs deptest-two" \
 
5258
        /data/SPECS/deptest.spec
 
5259
runroot rpmbuild --quiet -bb \
 
5260
        --define "pkg two" \
 
5261
        /data/SPECS/deptest.spec
 
5262
 
 
5263
 
 
5264
runroot rpm -Uv \
 
5265
  "${TOPDIR}"/RPMS/noarch/deptest-one-1.0-1.noarch.rpm \
 
5266
  "${TOPDIR}"/RPMS/noarch/deptest-two-1.0-1.noarch.rpm
 
5267
runroot rpm -q deptest-one
 
5268
 
 
5269
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
5270
at_status=$? at_failed=false
 
5271
$at_check_filter
 
5272
echo >>"$at_stderr"; $as_echo "warning: package deptest-one-1.0-1.noarch was already added, skipping deptest-two-1.0-1.noarch
 
5273
" | \
 
5274
  $at_diff - "$at_stderr" || at_failed=:
 
5275
echo >>"$at_stdout"; $as_echo "Preparing packages...
 
5276
deptest-one-1.0-1.noarch
 
5277
deptest-one-1.0-1.noarch
 
5278
" | \
 
5279
  $at_diff - "$at_stdout" || at_failed=:
 
5280
at_fn_check_status 0 $at_status "$at_srcdir/rpmi.at:226"
 
5281
$at_failed && at_fn_log_failure
 
5282
$at_traceon; }
 
5283
 
 
5284
  set +x
 
5285
  $at_times_p && times >"$at_times_file"
 
5286
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
5287
read at_status <"$at_status_file"
 
5288
#AT_STOP_60
 
5289
#AT_START_61
 
5290
at_fn_group_banner 61 'rpmi.at:254' \
 
5291
  "rpm -i two versions of same package" "            " 5
 
5292
at_xfail=no
 
5293
(
 
5294
  $as_echo "61. $at_setup_line: testing $at_desc ..."
 
5295
  $at_traceon
 
5296
 
 
5297
{ set +x
 
5298
$as_echo "$at_srcdir/rpmi.at:255:
 
5299
 
 
5300
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
5301
 
 
5302
 
 
5303
runroot rpm --initdb
 
5304
 
 
5305
 
 
5306
runroot rpm -i \\
 
5307
  \"\${TOPDIR}\"/RPMS/noarch/versiontest-1.0-1.noarch.rpm \\
 
5308
  \"\${TOPDIR}\"/RPMS/noarch/versiontest-2.0-1.noarch.rpm
 
5309
runroot rpm -q versiontest
 
5310
"
 
5311
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmi.at:255"
 
5312
( $at_check_trace;
 
5313
 
 
5314
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
5315
 
 
5316
 
 
5317
runroot rpm --initdb
 
5318
 
 
5319
 
 
5320
runroot rpm -i \
 
5321
  "${TOPDIR}"/RPMS/noarch/versiontest-1.0-1.noarch.rpm \
 
5322
  "${TOPDIR}"/RPMS/noarch/versiontest-2.0-1.noarch.rpm
 
5323
runroot rpm -q versiontest
 
5324
 
 
5325
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
5326
at_status=$? at_failed=false
 
5327
$at_check_filter
 
5328
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
5329
echo >>"$at_stdout"; $as_echo "versiontest-2.0-1.noarch
 
5330
versiontest-1.0-1.noarch
 
5331
" | \
 
5332
  $at_diff - "$at_stdout" || at_failed=:
 
5333
at_fn_check_status 0 $at_status "$at_srcdir/rpmi.at:255"
 
5334
$at_failed && at_fn_log_failure
 
5335
$at_traceon; }
 
5336
 
 
5337
  set +x
 
5338
  $at_times_p && times >"$at_times_file"
 
5339
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
5340
read at_status <"$at_status_file"
 
5341
#AT_STOP_61
 
5342
#AT_START_62
 
5343
at_fn_group_banner 62 'rpmi.at:273' \
 
5344
  "rpm -i identical versions of same package" "      " 5
 
5345
at_xfail=no
 
5346
(
 
5347
  $as_echo "62. $at_setup_line: testing $at_desc ..."
 
5348
  $at_traceon
 
5349
 
 
5350
{ set +x
 
5351
$as_echo "$at_srcdir/rpmi.at:274:
 
5352
 
 
5353
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
5354
 
 
5355
 
 
5356
runroot rpm --initdb
 
5357
 
 
5358
 
 
5359
runroot rpm -i \\
 
5360
  \"\${TOPDIR}\"/RPMS/noarch/versiontest-1.0-1.noarch.rpm \\
 
5361
  \"\${TOPDIR}\"/RPMS/noarch/versiontest-1.0-1.noarch.rpm
 
5362
runroot rpm -q versiontest
 
5363
"
 
5364
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmi.at:274"
 
5365
( $at_check_trace;
 
5366
 
 
5367
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
5368
 
 
5369
 
 
5370
runroot rpm --initdb
 
5371
 
 
5372
 
 
5373
runroot rpm -i \
 
5374
  "${TOPDIR}"/RPMS/noarch/versiontest-1.0-1.noarch.rpm \
 
5375
  "${TOPDIR}"/RPMS/noarch/versiontest-1.0-1.noarch.rpm
 
5376
runroot rpm -q versiontest
 
5377
 
 
5378
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
5379
at_status=$? at_failed=false
 
5380
$at_check_filter
 
5381
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
5382
echo >>"$at_stdout"; $as_echo "versiontest-1.0-1.noarch
 
5383
" | \
 
5384
  $at_diff - "$at_stdout" || at_failed=:
 
5385
at_fn_check_status 0 $at_status "$at_srcdir/rpmi.at:274"
 
5386
$at_failed && at_fn_log_failure
 
5387
$at_traceon; }
 
5388
 
 
5389
  set +x
 
5390
  $at_times_p && times >"$at_times_file"
 
5391
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
5392
read at_status <"$at_status_file"
 
5393
#AT_STOP_62
 
5394
#AT_START_63
 
5395
at_fn_group_banner 63 'rpmi.at:291' \
5105
5396
  "rpm -U with invalid --relocate" "                 " 5
5106
5397
at_xfail=no
5107
5398
(
5108
 
  $as_echo "60. $at_setup_line: testing $at_desc ..."
 
5399
  $as_echo "63. $at_setup_line: testing $at_desc ..."
5109
5400
  $at_traceon
5110
5401
 
5111
5402
 
5112
5403
{ set +x
5113
 
$as_echo "$at_srcdir/rpmi.at:212:
 
5404
$as_echo "$at_srcdir/rpmi.at:293:
5114
5405
 
5115
5406
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
5116
5407
 
5123
5414
runroot rpm -U --test --ignoreos --relocate /usr=/opt \\
5124
5415
  \"\${TOPDIR}\"/RPMS/noarch/hello-script-1.0-1.noarch.rpm
5125
5416
"
5126
 
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmi.at:212"
 
5417
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmi.at:293"
5127
5418
( $at_check_trace;
5128
5419
 
5129
5420
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
5144
5435
" | \
5145
5436
  $at_diff - "$at_stderr" || at_failed=:
5146
5437
at_fn_diff_devnull "$at_stdout" || at_failed=:
5147
 
at_fn_check_status 1 $at_status "$at_srcdir/rpmi.at:212"
 
5438
at_fn_check_status 1 $at_status "$at_srcdir/rpmi.at:293"
5148
5439
$at_failed && at_fn_log_failure
5149
5440
$at_traceon; }
5150
5441
 
5152
5443
  $at_times_p && times >"$at_times_file"
5153
5444
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5154
5445
read at_status <"$at_status_file"
5155
 
#AT_STOP_60
5156
 
#AT_START_61
5157
 
at_fn_group_banner 61 'rpmi.at:227' \
 
5446
#AT_STOP_63
 
5447
#AT_START_64
 
5448
at_fn_group_banner 64 'rpmi.at:308' \
5158
5449
  "rpm -U --badreloc with invalid --relocate" "      " 5
5159
5450
at_xfail=no
5160
5451
(
5161
 
  $as_echo "61. $at_setup_line: testing $at_desc ..."
 
5452
  $as_echo "64. $at_setup_line: testing $at_desc ..."
5162
5453
  $at_traceon
5163
5454
 
5164
5455
 
5165
5456
{ set +x
5166
 
$as_echo "$at_srcdir/rpmi.at:229:
 
5457
$as_echo "$at_srcdir/rpmi.at:310:
5167
5458
 
5168
5459
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
5169
5460
 
5176
5467
runroot rpm -U --test --ignoreos --badreloc --relocate /usr=/opt \\
5177
5468
  \"\${TOPDIR}\"/RPMS/noarch/hello-script-1.0-1.noarch.rpm
5178
5469
"
5179
 
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmi.at:229"
 
5470
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmi.at:310"
5180
5471
( $at_check_trace;
5181
5472
 
5182
5473
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
5195
5486
$at_check_filter
5196
5487
at_fn_diff_devnull "$at_stderr" || at_failed=:
5197
5488
at_fn_diff_devnull "$at_stdout" || at_failed=:
5198
 
at_fn_check_status 0 $at_status "$at_srcdir/rpmi.at:229"
 
5489
at_fn_check_status 0 $at_status "$at_srcdir/rpmi.at:310"
5199
5490
$at_failed && at_fn_log_failure
5200
5491
$at_traceon; }
5201
5492
 
5203
5494
  $at_times_p && times >"$at_times_file"
5204
5495
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5205
5496
read at_status <"$at_status_file"
5206
 
#AT_STOP_61
5207
 
#AT_START_62
5208
 
at_fn_group_banner 62 'rpmbuild.at:23' \
 
5497
#AT_STOP_64
 
5498
#AT_START_65
 
5499
at_fn_group_banner 65 'rpmbuild.at:23' \
5209
5500
  "rpmbuild -ba *.spec" "                            " 6
5210
5501
at_xfail=no
5211
5502
(
5212
 
  $as_echo "62. $at_setup_line: testing $at_desc ..."
 
5503
  $as_echo "65. $at_setup_line: testing $at_desc ..."
5213
5504
  $at_traceon
5214
5505
 
5215
5506
 
5246
5537
  $at_times_p && times >"$at_times_file"
5247
5538
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5248
5539
read at_status <"$at_status_file"
5249
 
#AT_STOP_62
5250
 
#AT_START_63
5251
 
at_fn_group_banner 63 'rpmbuild.at:41' \
 
5540
#AT_STOP_65
 
5541
#AT_START_66
 
5542
at_fn_group_banner 66 'rpmbuild.at:41' \
5252
5543
  "rpmbuild --rebuild" "                             " 6
5253
5544
at_xfail=no
5254
5545
(
5255
 
  $as_echo "63. $at_setup_line: testing $at_desc ..."
 
5546
  $as_echo "66. $at_setup_line: testing $at_desc ..."
5256
5547
  $at_traceon
5257
5548
 
5258
5549
 
5283
5574
  $at_times_p && times >"$at_times_file"
5284
5575
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5285
5576
read at_status <"$at_status_file"
5286
 
#AT_STOP_63
5287
 
#AT_START_64
5288
 
at_fn_group_banner 64 'rpmbuild.at:56' \
 
5577
#AT_STOP_66
 
5578
#AT_START_67
 
5579
at_fn_group_banner 67 'rpmbuild.at:56' \
5289
5580
  "rpmbuild -tb <tar with bad spec>" "               " 6
5290
5581
at_xfail=no
5291
5582
(
5292
 
  $as_echo "64. $at_setup_line: testing $at_desc ..."
 
5583
  $as_echo "67. $at_setup_line: testing $at_desc ..."
5293
5584
  $at_traceon
5294
5585
 
5295
5586
 
5322
5613
  $at_times_p && times >"$at_times_file"
5323
5614
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5324
5615
read at_status <"$at_status_file"
5325
 
#AT_STOP_64
5326
 
#AT_START_65
5327
 
at_fn_group_banner 65 'rpmbuild.at:73' \
 
5616
#AT_STOP_67
 
5617
#AT_START_68
 
5618
at_fn_group_banner 68 'rpmbuild.at:73' \
5328
5619
  "rpmbuild -tb" "                                   " 6
5329
5620
at_xfail=no
5330
5621
(
5331
 
  $as_echo "65. $at_setup_line: testing $at_desc ..."
 
5622
  $as_echo "68. $at_setup_line: testing $at_desc ..."
5332
5623
  $at_traceon
5333
5624
 
5334
5625
 
5359
5650
  $at_times_p && times >"$at_times_file"
5360
5651
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5361
5652
read at_status <"$at_status_file"
5362
 
#AT_STOP_65
5363
 
#AT_START_66
5364
 
at_fn_group_banner 66 'rpmbuild.at:88' \
 
5653
#AT_STOP_68
 
5654
#AT_START_69
 
5655
at_fn_group_banner 69 'rpmbuild.at:88' \
5365
5656
  "rpmbuild %attr and %defattr" "                    " 6
5366
5657
at_xfail=no
5367
5658
(
5368
 
  $as_echo "66. $at_setup_line: testing $at_desc ..."
 
5659
  $as_echo "69. $at_setup_line: testing $at_desc ..."
5369
5660
  $at_traceon
5370
5661
 
5371
5662
 
5426
5717
  $at_times_p && times >"$at_times_file"
5427
5718
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5428
5719
read at_status <"$at_status_file"
5429
 
#AT_STOP_66
5430
 
#AT_START_67
5431
 
at_fn_group_banner 67 'rpmbuild.at:128' \
 
5720
#AT_STOP_69
 
5721
#AT_START_70
 
5722
at_fn_group_banner 70 'rpmbuild.at:128' \
5432
5723
  "rpmbuild hardlink" "                              " 6
5433
5724
at_xfail=no
5434
5725
(
5435
 
  $as_echo "67. $at_setup_line: testing $at_desc ..."
 
5726
  $as_echo "70. $at_setup_line: testing $at_desc ..."
5436
5727
  $at_traceon
5437
5728
 
5438
5729
 
5497
5788
  $at_times_p && times >"$at_times_file"
5498
5789
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5499
5790
read at_status <"$at_status_file"
5500
 
#AT_STOP_67
5501
 
#AT_START_68
5502
 
at_fn_group_banner 68 'rpmscript.at:7' \
 
5791
#AT_STOP_70
 
5792
#AT_START_71
 
5793
at_fn_group_banner 71 'rpmbuild.at:157' \
 
5794
  "rpmbuild glob" "                                  " 6
 
5795
at_xfail=no
 
5796
(
 
5797
  $as_echo "71. $at_setup_line: testing $at_desc ..."
 
5798
  $at_traceon
 
5799
 
 
5800
 
 
5801
{ set +x
 
5802
$as_echo "$at_srcdir/rpmbuild.at:159:
 
5803
 
 
5804
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
5805
 
 
5806
 
 
5807
runroot rpm --initdb
 
5808
 
 
5809
rm -rf \${TOPDIR}
 
5810
 
 
5811
runroot rpmbuild -bb --quiet /data/SPECS/globtest.spec
 
5812
runroot rpm -qp \\
 
5813
        --qf \"[%{filemodes:perms} %{filenames}\\n]\" \\
 
5814
        \"\${TOPDIR}\"/RPMS/noarch/globtest-1.0-1.noarch.rpm
 
5815
"
 
5816
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmbuild.at:159"
 
5817
( $at_check_trace;
 
5818
 
 
5819
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
5820
 
 
5821
 
 
5822
runroot rpm --initdb
 
5823
 
 
5824
rm -rf ${TOPDIR}
 
5825
 
 
5826
runroot rpmbuild -bb --quiet /data/SPECS/globtest.spec
 
5827
runroot rpm -qp \
 
5828
        --qf "[%{filemodes:perms} %{filenames}\n]" \
 
5829
        "${TOPDIR}"/RPMS/noarch/globtest-1.0-1.noarch.rpm
 
5830
 
 
5831
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
5832
at_status=$? at_failed=false
 
5833
$at_check_filter
 
5834
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
5835
echo >>"$at_stdout"; $as_echo "-rw-r--r-- /opt/globtest/baf
 
5836
drwxr-xr-x /opt/globtest/bang
 
5837
-rw-r--r-- /opt/globtest/bif
 
5838
drwxr-xr-x /opt/globtest/bing
 
5839
drwxr-xr-x /opt/globtest/bong
 
5840
drwxr-xr-x /opt/globtest/foo
 
5841
-rw-r--r-- /opt/globtest/foo/one
 
5842
-rw-r--r-- /opt/globtest/foo/three
 
5843
-rw-r--r-- /opt/globtest/foo/two
 
5844
lrwxrwxrwx /opt/globtest/linkbad
 
5845
lrwxrwxrwx /opt/globtest/linkgood
 
5846
-rw-r--r-- /opt/globtest/weird%name
 
5847
-rw-r--r-- /opt/globtest/zab
 
5848
-rw-r--r-- /opt/globtest/zeb
 
5849
-rw-r--r-- /opt/globtest/zib
 
5850
" | \
 
5851
  $at_diff - "$at_stdout" || at_failed=:
 
5852
at_fn_check_status 0 $at_status "$at_srcdir/rpmbuild.at:159"
 
5853
$at_failed && at_fn_log_failure
 
5854
$at_traceon; }
 
5855
 
 
5856
  set +x
 
5857
  $at_times_p && times >"$at_times_file"
 
5858
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
5859
read at_status <"$at_status_file"
 
5860
#AT_STOP_71
 
5861
#AT_START_72
 
5862
at_fn_group_banner 72 'rpmscript.at:7' \
5503
5863
  "basic scripts and arguments" "                    " 7
5504
5864
at_xfail=no
5505
5865
(
5506
 
  $as_echo "68. $at_setup_line: testing $at_desc ..."
 
5866
  $as_echo "72. $at_setup_line: testing $at_desc ..."
5507
5867
  $at_traceon
5508
5868
 
5509
5869
 
5571
5931
  $at_times_p && times >"$at_times_file"
5572
5932
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5573
5933
read at_status <"$at_status_file"
5574
 
#AT_STOP_68
5575
 
#AT_START_69
5576
 
at_fn_group_banner 69 'rpmvercmp.at:13' \
 
5934
#AT_STOP_72
 
5935
#AT_START_73
 
5936
at_fn_group_banner 73 'rpmvercmp.at:13' \
5577
5937
  "rpmvercmp(1.0, 1.0) = 0" "                        " 8
5578
5938
at_xfail=no
5579
5939
(
5580
 
  $as_echo "69. $at_setup_line: testing $at_desc ..."
 
5940
  $as_echo "73. $at_setup_line: testing $at_desc ..."
5581
5941
  $at_traceon
5582
5942
 
5583
5943
 
5600
5960
  $at_times_p && times >"$at_times_file"
5601
5961
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5602
5962
read at_status <"$at_status_file"
5603
 
#AT_STOP_69
5604
 
#AT_START_70
5605
 
at_fn_group_banner 70 'rpmvercmp.at:14' \
 
5963
#AT_STOP_73
 
5964
#AT_START_74
 
5965
at_fn_group_banner 74 'rpmvercmp.at:14' \
5606
5966
  "rpmvercmp(1.0, 2.0) = -1" "                       " 8
5607
5967
at_xfail=no
5608
5968
(
5609
 
  $as_echo "70. $at_setup_line: testing $at_desc ..."
 
5969
  $as_echo "74. $at_setup_line: testing $at_desc ..."
5610
5970
  $at_traceon
5611
5971
 
5612
5972
 
5629
5989
  $at_times_p && times >"$at_times_file"
5630
5990
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5631
5991
read at_status <"$at_status_file"
5632
 
#AT_STOP_70
5633
 
#AT_START_71
5634
 
at_fn_group_banner 71 'rpmvercmp.at:15' \
 
5992
#AT_STOP_74
 
5993
#AT_START_75
 
5994
at_fn_group_banner 75 'rpmvercmp.at:15' \
5635
5995
  "rpmvercmp(2.0, 1.0) = 1" "                        " 8
5636
5996
at_xfail=no
5637
5997
(
5638
 
  $as_echo "71. $at_setup_line: testing $at_desc ..."
 
5998
  $as_echo "75. $at_setup_line: testing $at_desc ..."
5639
5999
  $at_traceon
5640
6000
 
5641
6001
 
5658
6018
  $at_times_p && times >"$at_times_file"
5659
6019
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5660
6020
read at_status <"$at_status_file"
5661
 
#AT_STOP_71
5662
 
#AT_START_72
5663
 
at_fn_group_banner 72 'rpmvercmp.at:17' \
 
6021
#AT_STOP_75
 
6022
#AT_START_76
 
6023
at_fn_group_banner 76 'rpmvercmp.at:17' \
5664
6024
  "rpmvercmp(2.0.1, 2.0.1) = 0" "                    " 8
5665
6025
at_xfail=no
5666
6026
(
5667
 
  $as_echo "72. $at_setup_line: testing $at_desc ..."
 
6027
  $as_echo "76. $at_setup_line: testing $at_desc ..."
5668
6028
  $at_traceon
5669
6029
 
5670
6030
 
5687
6047
  $at_times_p && times >"$at_times_file"
5688
6048
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5689
6049
read at_status <"$at_status_file"
5690
 
#AT_STOP_72
5691
 
#AT_START_73
5692
 
at_fn_group_banner 73 'rpmvercmp.at:18' \
 
6050
#AT_STOP_76
 
6051
#AT_START_77
 
6052
at_fn_group_banner 77 'rpmvercmp.at:18' \
5693
6053
  "rpmvercmp(2.0, 2.0.1) = -1" "                     " 8
5694
6054
at_xfail=no
5695
6055
(
5696
 
  $as_echo "73. $at_setup_line: testing $at_desc ..."
 
6056
  $as_echo "77. $at_setup_line: testing $at_desc ..."
5697
6057
  $at_traceon
5698
6058
 
5699
6059
 
5716
6076
  $at_times_p && times >"$at_times_file"
5717
6077
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5718
6078
read at_status <"$at_status_file"
5719
 
#AT_STOP_73
5720
 
#AT_START_74
5721
 
at_fn_group_banner 74 'rpmvercmp.at:19' \
 
6079
#AT_STOP_77
 
6080
#AT_START_78
 
6081
at_fn_group_banner 78 'rpmvercmp.at:19' \
5722
6082
  "rpmvercmp(2.0.1, 2.0) = 1" "                      " 8
5723
6083
at_xfail=no
5724
6084
(
5725
 
  $as_echo "74. $at_setup_line: testing $at_desc ..."
 
6085
  $as_echo "78. $at_setup_line: testing $at_desc ..."
5726
6086
  $at_traceon
5727
6087
 
5728
6088
 
5745
6105
  $at_times_p && times >"$at_times_file"
5746
6106
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5747
6107
read at_status <"$at_status_file"
5748
 
#AT_STOP_74
5749
 
#AT_START_75
5750
 
at_fn_group_banner 75 'rpmvercmp.at:21' \
 
6108
#AT_STOP_78
 
6109
#AT_START_79
 
6110
at_fn_group_banner 79 'rpmvercmp.at:21' \
5751
6111
  "rpmvercmp(2.0.1a, 2.0.1a) = 0" "                  " 8
5752
6112
at_xfail=no
5753
6113
(
5754
 
  $as_echo "75. $at_setup_line: testing $at_desc ..."
 
6114
  $as_echo "79. $at_setup_line: testing $at_desc ..."
5755
6115
  $at_traceon
5756
6116
 
5757
6117
 
5774
6134
  $at_times_p && times >"$at_times_file"
5775
6135
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5776
6136
read at_status <"$at_status_file"
5777
 
#AT_STOP_75
5778
 
#AT_START_76
5779
 
at_fn_group_banner 76 'rpmvercmp.at:22' \
 
6137
#AT_STOP_79
 
6138
#AT_START_80
 
6139
at_fn_group_banner 80 'rpmvercmp.at:22' \
5780
6140
  "rpmvercmp(2.0.1a, 2.0.1) = 1" "                   " 8
5781
6141
at_xfail=no
5782
6142
(
5783
 
  $as_echo "76. $at_setup_line: testing $at_desc ..."
 
6143
  $as_echo "80. $at_setup_line: testing $at_desc ..."
5784
6144
  $at_traceon
5785
6145
 
5786
6146
 
5803
6163
  $at_times_p && times >"$at_times_file"
5804
6164
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5805
6165
read at_status <"$at_status_file"
5806
 
#AT_STOP_76
5807
 
#AT_START_77
5808
 
at_fn_group_banner 77 'rpmvercmp.at:23' \
 
6166
#AT_STOP_80
 
6167
#AT_START_81
 
6168
at_fn_group_banner 81 'rpmvercmp.at:23' \
5809
6169
  "rpmvercmp(2.0.1, 2.0.1a) = -1" "                  " 8
5810
6170
at_xfail=no
5811
6171
(
5812
 
  $as_echo "77. $at_setup_line: testing $at_desc ..."
 
6172
  $as_echo "81. $at_setup_line: testing $at_desc ..."
5813
6173
  $at_traceon
5814
6174
 
5815
6175
 
5832
6192
  $at_times_p && times >"$at_times_file"
5833
6193
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5834
6194
read at_status <"$at_status_file"
5835
 
#AT_STOP_77
5836
 
#AT_START_78
5837
 
at_fn_group_banner 78 'rpmvercmp.at:25' \
 
6195
#AT_STOP_81
 
6196
#AT_START_82
 
6197
at_fn_group_banner 82 'rpmvercmp.at:25' \
5838
6198
  "rpmvercmp(5.5p1, 5.5p1) = 0" "                    " 8
5839
6199
at_xfail=no
5840
6200
(
5841
 
  $as_echo "78. $at_setup_line: testing $at_desc ..."
 
6201
  $as_echo "82. $at_setup_line: testing $at_desc ..."
5842
6202
  $at_traceon
5843
6203
 
5844
6204
 
5861
6221
  $at_times_p && times >"$at_times_file"
5862
6222
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5863
6223
read at_status <"$at_status_file"
5864
 
#AT_STOP_78
5865
 
#AT_START_79
5866
 
at_fn_group_banner 79 'rpmvercmp.at:26' \
 
6224
#AT_STOP_82
 
6225
#AT_START_83
 
6226
at_fn_group_banner 83 'rpmvercmp.at:26' \
5867
6227
  "rpmvercmp(5.5p1, 5.5p2) = -1" "                   " 8
5868
6228
at_xfail=no
5869
6229
(
5870
 
  $as_echo "79. $at_setup_line: testing $at_desc ..."
 
6230
  $as_echo "83. $at_setup_line: testing $at_desc ..."
5871
6231
  $at_traceon
5872
6232
 
5873
6233
 
5890
6250
  $at_times_p && times >"$at_times_file"
5891
6251
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5892
6252
read at_status <"$at_status_file"
5893
 
#AT_STOP_79
5894
 
#AT_START_80
5895
 
at_fn_group_banner 80 'rpmvercmp.at:27' \
 
6253
#AT_STOP_83
 
6254
#AT_START_84
 
6255
at_fn_group_banner 84 'rpmvercmp.at:27' \
5896
6256
  "rpmvercmp(5.5p2, 5.5p1) = 1" "                    " 8
5897
6257
at_xfail=no
5898
6258
(
5899
 
  $as_echo "80. $at_setup_line: testing $at_desc ..."
 
6259
  $as_echo "84. $at_setup_line: testing $at_desc ..."
5900
6260
  $at_traceon
5901
6261
 
5902
6262
 
5919
6279
  $at_times_p && times >"$at_times_file"
5920
6280
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5921
6281
read at_status <"$at_status_file"
5922
 
#AT_STOP_80
5923
 
#AT_START_81
5924
 
at_fn_group_banner 81 'rpmvercmp.at:29' \
 
6282
#AT_STOP_84
 
6283
#AT_START_85
 
6284
at_fn_group_banner 85 'rpmvercmp.at:29' \
5925
6285
  "rpmvercmp(5.5p10, 5.5p10) = 0" "                  " 8
5926
6286
at_xfail=no
5927
6287
(
5928
 
  $as_echo "81. $at_setup_line: testing $at_desc ..."
 
6288
  $as_echo "85. $at_setup_line: testing $at_desc ..."
5929
6289
  $at_traceon
5930
6290
 
5931
6291
 
5948
6308
  $at_times_p && times >"$at_times_file"
5949
6309
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5950
6310
read at_status <"$at_status_file"
5951
 
#AT_STOP_81
5952
 
#AT_START_82
5953
 
at_fn_group_banner 82 'rpmvercmp.at:30' \
 
6311
#AT_STOP_85
 
6312
#AT_START_86
 
6313
at_fn_group_banner 86 'rpmvercmp.at:30' \
5954
6314
  "rpmvercmp(5.5p1, 5.5p10) = -1" "                  " 8
5955
6315
at_xfail=no
5956
6316
(
5957
 
  $as_echo "82. $at_setup_line: testing $at_desc ..."
 
6317
  $as_echo "86. $at_setup_line: testing $at_desc ..."
5958
6318
  $at_traceon
5959
6319
 
5960
6320
 
5977
6337
  $at_times_p && times >"$at_times_file"
5978
6338
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5979
6339
read at_status <"$at_status_file"
5980
 
#AT_STOP_82
5981
 
#AT_START_83
5982
 
at_fn_group_banner 83 'rpmvercmp.at:31' \
 
6340
#AT_STOP_86
 
6341
#AT_START_87
 
6342
at_fn_group_banner 87 'rpmvercmp.at:31' \
5983
6343
  "rpmvercmp(5.5p10, 5.5p1) = 1" "                   " 8
5984
6344
at_xfail=no
5985
6345
(
5986
 
  $as_echo "83. $at_setup_line: testing $at_desc ..."
 
6346
  $as_echo "87. $at_setup_line: testing $at_desc ..."
5987
6347
  $at_traceon
5988
6348
 
5989
6349
 
6006
6366
  $at_times_p && times >"$at_times_file"
6007
6367
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6008
6368
read at_status <"$at_status_file"
6009
 
#AT_STOP_83
6010
 
#AT_START_84
6011
 
at_fn_group_banner 84 'rpmvercmp.at:33' \
 
6369
#AT_STOP_87
 
6370
#AT_START_88
 
6371
at_fn_group_banner 88 'rpmvercmp.at:33' \
6012
6372
  "rpmvercmp(10xyz, 10.1xyz) = -1" "                 " 8
6013
6373
at_xfail=no
6014
6374
(
6015
 
  $as_echo "84. $at_setup_line: testing $at_desc ..."
 
6375
  $as_echo "88. $at_setup_line: testing $at_desc ..."
6016
6376
  $at_traceon
6017
6377
 
6018
6378
 
6035
6395
  $at_times_p && times >"$at_times_file"
6036
6396
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6037
6397
read at_status <"$at_status_file"
6038
 
#AT_STOP_84
6039
 
#AT_START_85
6040
 
at_fn_group_banner 85 'rpmvercmp.at:34' \
 
6398
#AT_STOP_88
 
6399
#AT_START_89
 
6400
at_fn_group_banner 89 'rpmvercmp.at:34' \
6041
6401
  "rpmvercmp(10.1xyz, 10xyz) = 1" "                  " 8
6042
6402
at_xfail=no
6043
6403
(
6044
 
  $as_echo "85. $at_setup_line: testing $at_desc ..."
 
6404
  $as_echo "89. $at_setup_line: testing $at_desc ..."
6045
6405
  $at_traceon
6046
6406
 
6047
6407
 
6064
6424
  $at_times_p && times >"$at_times_file"
6065
6425
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6066
6426
read at_status <"$at_status_file"
6067
 
#AT_STOP_85
6068
 
#AT_START_86
6069
 
at_fn_group_banner 86 'rpmvercmp.at:36' \
 
6427
#AT_STOP_89
 
6428
#AT_START_90
 
6429
at_fn_group_banner 90 'rpmvercmp.at:36' \
6070
6430
  "rpmvercmp(xyz10, xyz10) = 0" "                    " 8
6071
6431
at_xfail=no
6072
6432
(
6073
 
  $as_echo "86. $at_setup_line: testing $at_desc ..."
 
6433
  $as_echo "90. $at_setup_line: testing $at_desc ..."
6074
6434
  $at_traceon
6075
6435
 
6076
6436
 
6093
6453
  $at_times_p && times >"$at_times_file"
6094
6454
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6095
6455
read at_status <"$at_status_file"
6096
 
#AT_STOP_86
6097
 
#AT_START_87
6098
 
at_fn_group_banner 87 'rpmvercmp.at:37' \
 
6456
#AT_STOP_90
 
6457
#AT_START_91
 
6458
at_fn_group_banner 91 'rpmvercmp.at:37' \
6099
6459
  "rpmvercmp(xyz10, xyz10.1) = -1" "                 " 8
6100
6460
at_xfail=no
6101
6461
(
6102
 
  $as_echo "87. $at_setup_line: testing $at_desc ..."
 
6462
  $as_echo "91. $at_setup_line: testing $at_desc ..."
6103
6463
  $at_traceon
6104
6464
 
6105
6465
 
6122
6482
  $at_times_p && times >"$at_times_file"
6123
6483
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6124
6484
read at_status <"$at_status_file"
6125
 
#AT_STOP_87
6126
 
#AT_START_88
6127
 
at_fn_group_banner 88 'rpmvercmp.at:38' \
 
6485
#AT_STOP_91
 
6486
#AT_START_92
 
6487
at_fn_group_banner 92 'rpmvercmp.at:38' \
6128
6488
  "rpmvercmp(xyz10.1, xyz10) = 1" "                  " 8
6129
6489
at_xfail=no
6130
6490
(
6131
 
  $as_echo "88. $at_setup_line: testing $at_desc ..."
 
6491
  $as_echo "92. $at_setup_line: testing $at_desc ..."
6132
6492
  $at_traceon
6133
6493
 
6134
6494
 
6151
6511
  $at_times_p && times >"$at_times_file"
6152
6512
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6153
6513
read at_status <"$at_status_file"
6154
 
#AT_STOP_88
6155
 
#AT_START_89
6156
 
at_fn_group_banner 89 'rpmvercmp.at:40' \
 
6514
#AT_STOP_92
 
6515
#AT_START_93
 
6516
at_fn_group_banner 93 'rpmvercmp.at:40' \
6157
6517
  "rpmvercmp(xyz.4, xyz.4) = 0" "                    " 8
6158
6518
at_xfail=no
6159
6519
(
6160
 
  $as_echo "89. $at_setup_line: testing $at_desc ..."
 
6520
  $as_echo "93. $at_setup_line: testing $at_desc ..."
6161
6521
  $at_traceon
6162
6522
 
6163
6523
 
6180
6540
  $at_times_p && times >"$at_times_file"
6181
6541
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6182
6542
read at_status <"$at_status_file"
6183
 
#AT_STOP_89
6184
 
#AT_START_90
6185
 
at_fn_group_banner 90 'rpmvercmp.at:41' \
 
6543
#AT_STOP_93
 
6544
#AT_START_94
 
6545
at_fn_group_banner 94 'rpmvercmp.at:41' \
6186
6546
  "rpmvercmp(xyz.4, 8) = -1" "                       " 8
6187
6547
at_xfail=no
6188
6548
(
6189
 
  $as_echo "90. $at_setup_line: testing $at_desc ..."
 
6549
  $as_echo "94. $at_setup_line: testing $at_desc ..."
6190
6550
  $at_traceon
6191
6551
 
6192
6552
 
6209
6569
  $at_times_p && times >"$at_times_file"
6210
6570
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6211
6571
read at_status <"$at_status_file"
6212
 
#AT_STOP_90
6213
 
#AT_START_91
6214
 
at_fn_group_banner 91 'rpmvercmp.at:42' \
 
6572
#AT_STOP_94
 
6573
#AT_START_95
 
6574
at_fn_group_banner 95 'rpmvercmp.at:42' \
6215
6575
  "rpmvercmp(8, xyz.4) = 1" "                        " 8
6216
6576
at_xfail=no
6217
6577
(
6218
 
  $as_echo "91. $at_setup_line: testing $at_desc ..."
 
6578
  $as_echo "95. $at_setup_line: testing $at_desc ..."
6219
6579
  $at_traceon
6220
6580
 
6221
6581
 
6238
6598
  $at_times_p && times >"$at_times_file"
6239
6599
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6240
6600
read at_status <"$at_status_file"
6241
 
#AT_STOP_91
6242
 
#AT_START_92
6243
 
at_fn_group_banner 92 'rpmvercmp.at:43' \
 
6601
#AT_STOP_95
 
6602
#AT_START_96
 
6603
at_fn_group_banner 96 'rpmvercmp.at:43' \
6244
6604
  "rpmvercmp(xyz.4, 2) = -1" "                       " 8
6245
6605
at_xfail=no
6246
6606
(
6247
 
  $as_echo "92. $at_setup_line: testing $at_desc ..."
 
6607
  $as_echo "96. $at_setup_line: testing $at_desc ..."
6248
6608
  $at_traceon
6249
6609
 
6250
6610
 
6267
6627
  $at_times_p && times >"$at_times_file"
6268
6628
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6269
6629
read at_status <"$at_status_file"
6270
 
#AT_STOP_92
6271
 
#AT_START_93
6272
 
at_fn_group_banner 93 'rpmvercmp.at:44' \
 
6630
#AT_STOP_96
 
6631
#AT_START_97
 
6632
at_fn_group_banner 97 'rpmvercmp.at:44' \
6273
6633
  "rpmvercmp(2, xyz.4) = 1" "                        " 8
6274
6634
at_xfail=no
6275
6635
(
6276
 
  $as_echo "93. $at_setup_line: testing $at_desc ..."
 
6636
  $as_echo "97. $at_setup_line: testing $at_desc ..."
6277
6637
  $at_traceon
6278
6638
 
6279
6639
 
6296
6656
  $at_times_p && times >"$at_times_file"
6297
6657
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6298
6658
read at_status <"$at_status_file"
6299
 
#AT_STOP_93
6300
 
#AT_START_94
6301
 
at_fn_group_banner 94 'rpmvercmp.at:46' \
 
6659
#AT_STOP_97
 
6660
#AT_START_98
 
6661
at_fn_group_banner 98 'rpmvercmp.at:46' \
6302
6662
  "rpmvercmp(5.5p2, 5.6p1) = -1" "                   " 8
6303
6663
at_xfail=no
6304
6664
(
6305
 
  $as_echo "94. $at_setup_line: testing $at_desc ..."
 
6665
  $as_echo "98. $at_setup_line: testing $at_desc ..."
6306
6666
  $at_traceon
6307
6667
 
6308
6668
 
6325
6685
  $at_times_p && times >"$at_times_file"
6326
6686
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6327
6687
read at_status <"$at_status_file"
6328
 
#AT_STOP_94
6329
 
#AT_START_95
6330
 
at_fn_group_banner 95 'rpmvercmp.at:47' \
 
6688
#AT_STOP_98
 
6689
#AT_START_99
 
6690
at_fn_group_banner 99 'rpmvercmp.at:47' \
6331
6691
  "rpmvercmp(5.6p1, 5.5p2) = 1" "                    " 8
6332
6692
at_xfail=no
6333
6693
(
6334
 
  $as_echo "95. $at_setup_line: testing $at_desc ..."
 
6694
  $as_echo "99. $at_setup_line: testing $at_desc ..."
6335
6695
  $at_traceon
6336
6696
 
6337
6697
 
6354
6714
  $at_times_p && times >"$at_times_file"
6355
6715
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6356
6716
read at_status <"$at_status_file"
6357
 
#AT_STOP_95
6358
 
#AT_START_96
6359
 
at_fn_group_banner 96 'rpmvercmp.at:49' \
 
6717
#AT_STOP_99
 
6718
#AT_START_100
 
6719
at_fn_group_banner 100 'rpmvercmp.at:49' \
6360
6720
  "rpmvercmp(5.6p1, 6.5p1) = -1" "                   " 8
6361
6721
at_xfail=no
6362
6722
(
6363
 
  $as_echo "96. $at_setup_line: testing $at_desc ..."
 
6723
  $as_echo "100. $at_setup_line: testing $at_desc ..."
6364
6724
  $at_traceon
6365
6725
 
6366
6726
 
6383
6743
  $at_times_p && times >"$at_times_file"
6384
6744
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6385
6745
read at_status <"$at_status_file"
6386
 
#AT_STOP_96
6387
 
#AT_START_97
6388
 
at_fn_group_banner 97 'rpmvercmp.at:50' \
 
6746
#AT_STOP_100
 
6747
#AT_START_101
 
6748
at_fn_group_banner 101 'rpmvercmp.at:50' \
6389
6749
  "rpmvercmp(6.5p1, 5.6p1) = 1" "                    " 8
6390
6750
at_xfail=no
6391
6751
(
6392
 
  $as_echo "97. $at_setup_line: testing $at_desc ..."
 
6752
  $as_echo "101. $at_setup_line: testing $at_desc ..."
6393
6753
  $at_traceon
6394
6754
 
6395
6755
 
6412
6772
  $at_times_p && times >"$at_times_file"
6413
6773
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6414
6774
read at_status <"$at_status_file"
6415
 
#AT_STOP_97
6416
 
#AT_START_98
6417
 
at_fn_group_banner 98 'rpmvercmp.at:52' \
 
6775
#AT_STOP_101
 
6776
#AT_START_102
 
6777
at_fn_group_banner 102 'rpmvercmp.at:52' \
6418
6778
  "rpmvercmp(6.0.rc1, 6.0) = 1" "                    " 8
6419
6779
at_xfail=no
6420
6780
(
6421
 
  $as_echo "98. $at_setup_line: testing $at_desc ..."
 
6781
  $as_echo "102. $at_setup_line: testing $at_desc ..."
6422
6782
  $at_traceon
6423
6783
 
6424
6784
 
6441
6801
  $at_times_p && times >"$at_times_file"
6442
6802
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6443
6803
read at_status <"$at_status_file"
6444
 
#AT_STOP_98
6445
 
#AT_START_99
6446
 
at_fn_group_banner 99 'rpmvercmp.at:53' \
 
6804
#AT_STOP_102
 
6805
#AT_START_103
 
6806
at_fn_group_banner 103 'rpmvercmp.at:53' \
6447
6807
  "rpmvercmp(6.0, 6.0.rc1) = -1" "                   " 8
6448
6808
at_xfail=no
6449
6809
(
6450
 
  $as_echo "99. $at_setup_line: testing $at_desc ..."
 
6810
  $as_echo "103. $at_setup_line: testing $at_desc ..."
6451
6811
  $at_traceon
6452
6812
 
6453
6813
 
6470
6830
  $at_times_p && times >"$at_times_file"
6471
6831
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6472
6832
read at_status <"$at_status_file"
6473
 
#AT_STOP_99
6474
 
#AT_START_100
6475
 
at_fn_group_banner 100 'rpmvercmp.at:55' \
 
6833
#AT_STOP_103
 
6834
#AT_START_104
 
6835
at_fn_group_banner 104 'rpmvercmp.at:55' \
6476
6836
  "rpmvercmp(10b2, 10a1) = 1" "                      " 8
6477
6837
at_xfail=no
6478
6838
(
6479
 
  $as_echo "100. $at_setup_line: testing $at_desc ..."
 
6839
  $as_echo "104. $at_setup_line: testing $at_desc ..."
6480
6840
  $at_traceon
6481
6841
 
6482
6842
 
6499
6859
  $at_times_p && times >"$at_times_file"
6500
6860
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6501
6861
read at_status <"$at_status_file"
6502
 
#AT_STOP_100
6503
 
#AT_START_101
6504
 
at_fn_group_banner 101 'rpmvercmp.at:56' \
 
6862
#AT_STOP_104
 
6863
#AT_START_105
 
6864
at_fn_group_banner 105 'rpmvercmp.at:56' \
6505
6865
  "rpmvercmp(10a2, 10b2) = -1" "                     " 8
6506
6866
at_xfail=no
6507
6867
(
6508
 
  $as_echo "101. $at_setup_line: testing $at_desc ..."
 
6868
  $as_echo "105. $at_setup_line: testing $at_desc ..."
6509
6869
  $at_traceon
6510
6870
 
6511
6871
 
6528
6888
  $at_times_p && times >"$at_times_file"
6529
6889
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6530
6890
read at_status <"$at_status_file"
6531
 
#AT_STOP_101
6532
 
#AT_START_102
6533
 
at_fn_group_banner 102 'rpmvercmp.at:58' \
 
6891
#AT_STOP_105
 
6892
#AT_START_106
 
6893
at_fn_group_banner 106 'rpmvercmp.at:58' \
6534
6894
  "rpmvercmp(1.0aa, 1.0aa) = 0" "                    " 8
6535
6895
at_xfail=no
6536
6896
(
6537
 
  $as_echo "102. $at_setup_line: testing $at_desc ..."
 
6897
  $as_echo "106. $at_setup_line: testing $at_desc ..."
6538
6898
  $at_traceon
6539
6899
 
6540
6900
 
6557
6917
  $at_times_p && times >"$at_times_file"
6558
6918
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6559
6919
read at_status <"$at_status_file"
6560
 
#AT_STOP_102
6561
 
#AT_START_103
6562
 
at_fn_group_banner 103 'rpmvercmp.at:59' \
 
6920
#AT_STOP_106
 
6921
#AT_START_107
 
6922
at_fn_group_banner 107 'rpmvercmp.at:59' \
6563
6923
  "rpmvercmp(1.0a, 1.0aa) = -1" "                    " 8
6564
6924
at_xfail=no
6565
6925
(
6566
 
  $as_echo "103. $at_setup_line: testing $at_desc ..."
 
6926
  $as_echo "107. $at_setup_line: testing $at_desc ..."
6567
6927
  $at_traceon
6568
6928
 
6569
6929
 
6586
6946
  $at_times_p && times >"$at_times_file"
6587
6947
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6588
6948
read at_status <"$at_status_file"
6589
 
#AT_STOP_103
6590
 
#AT_START_104
6591
 
at_fn_group_banner 104 'rpmvercmp.at:60' \
 
6949
#AT_STOP_107
 
6950
#AT_START_108
 
6951
at_fn_group_banner 108 'rpmvercmp.at:60' \
6592
6952
  "rpmvercmp(1.0aa, 1.0a) = 1" "                     " 8
6593
6953
at_xfail=no
6594
6954
(
6595
 
  $as_echo "104. $at_setup_line: testing $at_desc ..."
 
6955
  $as_echo "108. $at_setup_line: testing $at_desc ..."
6596
6956
  $at_traceon
6597
6957
 
6598
6958
 
6615
6975
  $at_times_p && times >"$at_times_file"
6616
6976
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6617
6977
read at_status <"$at_status_file"
6618
 
#AT_STOP_104
6619
 
#AT_START_105
6620
 
at_fn_group_banner 105 'rpmvercmp.at:62' \
 
6978
#AT_STOP_108
 
6979
#AT_START_109
 
6980
at_fn_group_banner 109 'rpmvercmp.at:62' \
6621
6981
  "rpmvercmp(10.0001, 10.0001) = 0" "                " 8
6622
6982
at_xfail=no
6623
6983
(
6624
 
  $as_echo "105. $at_setup_line: testing $at_desc ..."
 
6984
  $as_echo "109. $at_setup_line: testing $at_desc ..."
6625
6985
  $at_traceon
6626
6986
 
6627
6987
 
6644
7004
  $at_times_p && times >"$at_times_file"
6645
7005
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6646
7006
read at_status <"$at_status_file"
6647
 
#AT_STOP_105
6648
 
#AT_START_106
6649
 
at_fn_group_banner 106 'rpmvercmp.at:63' \
 
7007
#AT_STOP_109
 
7008
#AT_START_110
 
7009
at_fn_group_banner 110 'rpmvercmp.at:63' \
6650
7010
  "rpmvercmp(10.0001, 10.1) = 0" "                   " 8
6651
7011
at_xfail=no
6652
7012
(
6653
 
  $as_echo "106. $at_setup_line: testing $at_desc ..."
 
7013
  $as_echo "110. $at_setup_line: testing $at_desc ..."
6654
7014
  $at_traceon
6655
7015
 
6656
7016
 
6673
7033
  $at_times_p && times >"$at_times_file"
6674
7034
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6675
7035
read at_status <"$at_status_file"
6676
 
#AT_STOP_106
6677
 
#AT_START_107
6678
 
at_fn_group_banner 107 'rpmvercmp.at:64' \
 
7036
#AT_STOP_110
 
7037
#AT_START_111
 
7038
at_fn_group_banner 111 'rpmvercmp.at:64' \
6679
7039
  "rpmvercmp(10.1, 10.0001) = 0" "                   " 8
6680
7040
at_xfail=no
6681
7041
(
6682
 
  $as_echo "107. $at_setup_line: testing $at_desc ..."
 
7042
  $as_echo "111. $at_setup_line: testing $at_desc ..."
6683
7043
  $at_traceon
6684
7044
 
6685
7045
 
6702
7062
  $at_times_p && times >"$at_times_file"
6703
7063
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6704
7064
read at_status <"$at_status_file"
6705
 
#AT_STOP_107
6706
 
#AT_START_108
6707
 
at_fn_group_banner 108 'rpmvercmp.at:65' \
 
7065
#AT_STOP_111
 
7066
#AT_START_112
 
7067
at_fn_group_banner 112 'rpmvercmp.at:65' \
6708
7068
  "rpmvercmp(10.0001, 10.0039) = -1" "               " 8
6709
7069
at_xfail=no
6710
7070
(
6711
 
  $as_echo "108. $at_setup_line: testing $at_desc ..."
 
7071
  $as_echo "112. $at_setup_line: testing $at_desc ..."
6712
7072
  $at_traceon
6713
7073
 
6714
7074
 
6731
7091
  $at_times_p && times >"$at_times_file"
6732
7092
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6733
7093
read at_status <"$at_status_file"
6734
 
#AT_STOP_108
6735
 
#AT_START_109
6736
 
at_fn_group_banner 109 'rpmvercmp.at:66' \
 
7094
#AT_STOP_112
 
7095
#AT_START_113
 
7096
at_fn_group_banner 113 'rpmvercmp.at:66' \
6737
7097
  "rpmvercmp(10.0039, 10.0001) = 1" "                " 8
6738
7098
at_xfail=no
6739
7099
(
6740
 
  $as_echo "109. $at_setup_line: testing $at_desc ..."
 
7100
  $as_echo "113. $at_setup_line: testing $at_desc ..."
6741
7101
  $at_traceon
6742
7102
 
6743
7103
 
6760
7120
  $at_times_p && times >"$at_times_file"
6761
7121
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6762
7122
read at_status <"$at_status_file"
6763
 
#AT_STOP_109
6764
 
#AT_START_110
6765
 
at_fn_group_banner 110 'rpmvercmp.at:68' \
 
7123
#AT_STOP_113
 
7124
#AT_START_114
 
7125
at_fn_group_banner 114 'rpmvercmp.at:68' \
6766
7126
  "rpmvercmp(4.999.9, 5.0) = -1" "                   " 8
6767
7127
at_xfail=no
6768
7128
(
6769
 
  $as_echo "110. $at_setup_line: testing $at_desc ..."
 
7129
  $as_echo "114. $at_setup_line: testing $at_desc ..."
6770
7130
  $at_traceon
6771
7131
 
6772
7132
 
6789
7149
  $at_times_p && times >"$at_times_file"
6790
7150
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6791
7151
read at_status <"$at_status_file"
6792
 
#AT_STOP_110
6793
 
#AT_START_111
6794
 
at_fn_group_banner 111 'rpmvercmp.at:69' \
 
7152
#AT_STOP_114
 
7153
#AT_START_115
 
7154
at_fn_group_banner 115 'rpmvercmp.at:69' \
6795
7155
  "rpmvercmp(5.0, 4.999.9) = 1" "                    " 8
6796
7156
at_xfail=no
6797
7157
(
6798
 
  $as_echo "111. $at_setup_line: testing $at_desc ..."
 
7158
  $as_echo "115. $at_setup_line: testing $at_desc ..."
6799
7159
  $at_traceon
6800
7160
 
6801
7161
 
6818
7178
  $at_times_p && times >"$at_times_file"
6819
7179
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6820
7180
read at_status <"$at_status_file"
6821
 
#AT_STOP_111
6822
 
#AT_START_112
6823
 
at_fn_group_banner 112 'rpmvercmp.at:71' \
 
7181
#AT_STOP_115
 
7182
#AT_START_116
 
7183
at_fn_group_banner 116 'rpmvercmp.at:71' \
6824
7184
  "rpmvercmp(20101121, 20101121) = 0" "              " 8
6825
7185
at_xfail=no
6826
7186
(
6827
 
  $as_echo "112. $at_setup_line: testing $at_desc ..."
 
7187
  $as_echo "116. $at_setup_line: testing $at_desc ..."
6828
7188
  $at_traceon
6829
7189
 
6830
7190
 
6847
7207
  $at_times_p && times >"$at_times_file"
6848
7208
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6849
7209
read at_status <"$at_status_file"
6850
 
#AT_STOP_112
6851
 
#AT_START_113
6852
 
at_fn_group_banner 113 'rpmvercmp.at:72' \
 
7210
#AT_STOP_116
 
7211
#AT_START_117
 
7212
at_fn_group_banner 117 'rpmvercmp.at:72' \
6853
7213
  "rpmvercmp(20101121, 20101122) = -1" "             " 8
6854
7214
at_xfail=no
6855
7215
(
6856
 
  $as_echo "113. $at_setup_line: testing $at_desc ..."
 
7216
  $as_echo "117. $at_setup_line: testing $at_desc ..."
6857
7217
  $at_traceon
6858
7218
 
6859
7219
 
6876
7236
  $at_times_p && times >"$at_times_file"
6877
7237
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6878
7238
read at_status <"$at_status_file"
6879
 
#AT_STOP_113
6880
 
#AT_START_114
6881
 
at_fn_group_banner 114 'rpmvercmp.at:73' \
 
7239
#AT_STOP_117
 
7240
#AT_START_118
 
7241
at_fn_group_banner 118 'rpmvercmp.at:73' \
6882
7242
  "rpmvercmp(20101122, 20101121) = 1" "              " 8
6883
7243
at_xfail=no
6884
7244
(
6885
 
  $as_echo "114. $at_setup_line: testing $at_desc ..."
 
7245
  $as_echo "118. $at_setup_line: testing $at_desc ..."
6886
7246
  $at_traceon
6887
7247
 
6888
7248
 
6905
7265
  $at_times_p && times >"$at_times_file"
6906
7266
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6907
7267
read at_status <"$at_status_file"
6908
 
#AT_STOP_114
6909
 
#AT_START_115
6910
 
at_fn_group_banner 115 'rpmvercmp.at:75' \
 
7268
#AT_STOP_118
 
7269
#AT_START_119
 
7270
at_fn_group_banner 119 'rpmvercmp.at:75' \
6911
7271
  "rpmvercmp(2_0, 2_0) = 0" "                        " 8
6912
7272
at_xfail=no
6913
7273
(
6914
 
  $as_echo "115. $at_setup_line: testing $at_desc ..."
 
7274
  $as_echo "119. $at_setup_line: testing $at_desc ..."
6915
7275
  $at_traceon
6916
7276
 
6917
7277
 
6934
7294
  $at_times_p && times >"$at_times_file"
6935
7295
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6936
7296
read at_status <"$at_status_file"
6937
 
#AT_STOP_115
6938
 
#AT_START_116
6939
 
at_fn_group_banner 116 'rpmvercmp.at:76' \
 
7297
#AT_STOP_119
 
7298
#AT_START_120
 
7299
at_fn_group_banner 120 'rpmvercmp.at:76' \
6940
7300
  "rpmvercmp(2.0, 2_0) = 0" "                        " 8
6941
7301
at_xfail=no
6942
7302
(
6943
 
  $as_echo "116. $at_setup_line: testing $at_desc ..."
 
7303
  $as_echo "120. $at_setup_line: testing $at_desc ..."
6944
7304
  $at_traceon
6945
7305
 
6946
7306
 
6963
7323
  $at_times_p && times >"$at_times_file"
6964
7324
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6965
7325
read at_status <"$at_status_file"
6966
 
#AT_STOP_116
6967
 
#AT_START_117
6968
 
at_fn_group_banner 117 'rpmvercmp.at:77' \
 
7326
#AT_STOP_120
 
7327
#AT_START_121
 
7328
at_fn_group_banner 121 'rpmvercmp.at:77' \
6969
7329
  "rpmvercmp(2_0, 2.0) = 0" "                        " 8
6970
7330
at_xfail=no
6971
7331
(
6972
 
  $as_echo "117. $at_setup_line: testing $at_desc ..."
 
7332
  $as_echo "121. $at_setup_line: testing $at_desc ..."
6973
7333
  $at_traceon
6974
7334
 
6975
7335
 
6992
7352
  $at_times_p && times >"$at_times_file"
6993
7353
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
6994
7354
read at_status <"$at_status_file"
6995
 
#AT_STOP_117
6996
 
#AT_START_118
6997
 
at_fn_group_banner 118 'rpmvercmp.at:80' \
 
7355
#AT_STOP_121
 
7356
#AT_START_122
 
7357
at_fn_group_banner 122 'rpmvercmp.at:80' \
6998
7358
  "rpmvercmp(a, a) = 0" "                            " 8
6999
7359
at_xfail=no
7000
7360
(
7001
 
  $as_echo "118. $at_setup_line: testing $at_desc ..."
 
7361
  $as_echo "122. $at_setup_line: testing $at_desc ..."
7002
7362
  $at_traceon
7003
7363
 
7004
7364
 
7021
7381
  $at_times_p && times >"$at_times_file"
7022
7382
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7023
7383
read at_status <"$at_status_file"
7024
 
#AT_STOP_118
7025
 
#AT_START_119
7026
 
at_fn_group_banner 119 'rpmvercmp.at:81' \
 
7384
#AT_STOP_122
 
7385
#AT_START_123
 
7386
at_fn_group_banner 123 'rpmvercmp.at:81' \
7027
7387
  "rpmvercmp(a+, a+) = 0" "                          " 8
7028
7388
at_xfail=no
7029
7389
(
7030
 
  $as_echo "119. $at_setup_line: testing $at_desc ..."
 
7390
  $as_echo "123. $at_setup_line: testing $at_desc ..."
7031
7391
  $at_traceon
7032
7392
 
7033
7393
 
7050
7410
  $at_times_p && times >"$at_times_file"
7051
7411
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7052
7412
read at_status <"$at_status_file"
7053
 
#AT_STOP_119
7054
 
#AT_START_120
7055
 
at_fn_group_banner 120 'rpmvercmp.at:82' \
 
7413
#AT_STOP_123
 
7414
#AT_START_124
 
7415
at_fn_group_banner 124 'rpmvercmp.at:82' \
7056
7416
  "rpmvercmp(a+, a_) = 0" "                          " 8
7057
7417
at_xfail=no
7058
7418
(
7059
 
  $as_echo "120. $at_setup_line: testing $at_desc ..."
 
7419
  $as_echo "124. $at_setup_line: testing $at_desc ..."
7060
7420
  $at_traceon
7061
7421
 
7062
7422
 
7079
7439
  $at_times_p && times >"$at_times_file"
7080
7440
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7081
7441
read at_status <"$at_status_file"
7082
 
#AT_STOP_120
7083
 
#AT_START_121
7084
 
at_fn_group_banner 121 'rpmvercmp.at:83' \
 
7442
#AT_STOP_124
 
7443
#AT_START_125
 
7444
at_fn_group_banner 125 'rpmvercmp.at:83' \
7085
7445
  "rpmvercmp(a_, a+) = 0" "                          " 8
7086
7446
at_xfail=no
7087
7447
(
7088
 
  $as_echo "121. $at_setup_line: testing $at_desc ..."
 
7448
  $as_echo "125. $at_setup_line: testing $at_desc ..."
7089
7449
  $at_traceon
7090
7450
 
7091
7451
 
7108
7468
  $at_times_p && times >"$at_times_file"
7109
7469
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7110
7470
read at_status <"$at_status_file"
7111
 
#AT_STOP_121
7112
 
#AT_START_122
7113
 
at_fn_group_banner 122 'rpmvercmp.at:84' \
 
7471
#AT_STOP_125
 
7472
#AT_START_126
 
7473
at_fn_group_banner 126 'rpmvercmp.at:84' \
7114
7474
  "rpmvercmp(+a, +a) = 0" "                          " 8
7115
7475
at_xfail=no
7116
7476
(
7117
 
  $as_echo "122. $at_setup_line: testing $at_desc ..."
 
7477
  $as_echo "126. $at_setup_line: testing $at_desc ..."
7118
7478
  $at_traceon
7119
7479
 
7120
7480
 
7137
7497
  $at_times_p && times >"$at_times_file"
7138
7498
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7139
7499
read at_status <"$at_status_file"
7140
 
#AT_STOP_122
7141
 
#AT_START_123
7142
 
at_fn_group_banner 123 'rpmvercmp.at:85' \
 
7500
#AT_STOP_126
 
7501
#AT_START_127
 
7502
at_fn_group_banner 127 'rpmvercmp.at:85' \
7143
7503
  "rpmvercmp(+a, _a) = 0" "                          " 8
7144
7504
at_xfail=no
7145
7505
(
7146
 
  $as_echo "123. $at_setup_line: testing $at_desc ..."
 
7506
  $as_echo "127. $at_setup_line: testing $at_desc ..."
7147
7507
  $at_traceon
7148
7508
 
7149
7509
 
7166
7526
  $at_times_p && times >"$at_times_file"
7167
7527
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7168
7528
read at_status <"$at_status_file"
7169
 
#AT_STOP_123
7170
 
#AT_START_124
7171
 
at_fn_group_banner 124 'rpmvercmp.at:86' \
 
7529
#AT_STOP_127
 
7530
#AT_START_128
 
7531
at_fn_group_banner 128 'rpmvercmp.at:86' \
7172
7532
  "rpmvercmp(_a, +a) = 0" "                          " 8
7173
7533
at_xfail=no
7174
7534
(
7175
 
  $as_echo "124. $at_setup_line: testing $at_desc ..."
 
7535
  $as_echo "128. $at_setup_line: testing $at_desc ..."
7176
7536
  $at_traceon
7177
7537
 
7178
7538
 
7195
7555
  $at_times_p && times >"$at_times_file"
7196
7556
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7197
7557
read at_status <"$at_status_file"
7198
 
#AT_STOP_124
7199
 
#AT_START_125
7200
 
at_fn_group_banner 125 'rpmvercmp.at:87' \
 
7558
#AT_STOP_128
 
7559
#AT_START_129
 
7560
at_fn_group_banner 129 'rpmvercmp.at:87' \
7201
7561
  "rpmvercmp(+_, +_) = 0" "                          " 8
7202
7562
at_xfail=no
7203
7563
(
7204
 
  $as_echo "125. $at_setup_line: testing $at_desc ..."
 
7564
  $as_echo "129. $at_setup_line: testing $at_desc ..."
7205
7565
  $at_traceon
7206
7566
 
7207
7567
 
7224
7584
  $at_times_p && times >"$at_times_file"
7225
7585
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7226
7586
read at_status <"$at_status_file"
7227
 
#AT_STOP_125
7228
 
#AT_START_126
7229
 
at_fn_group_banner 126 'rpmvercmp.at:88' \
 
7587
#AT_STOP_129
 
7588
#AT_START_130
 
7589
at_fn_group_banner 130 'rpmvercmp.at:88' \
7230
7590
  "rpmvercmp(_+, +_) = 0" "                          " 8
7231
7591
at_xfail=no
7232
7592
(
7233
 
  $as_echo "126. $at_setup_line: testing $at_desc ..."
 
7593
  $as_echo "130. $at_setup_line: testing $at_desc ..."
7234
7594
  $at_traceon
7235
7595
 
7236
7596
 
7253
7613
  $at_times_p && times >"$at_times_file"
7254
7614
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7255
7615
read at_status <"$at_status_file"
7256
 
#AT_STOP_126
7257
 
#AT_START_127
7258
 
at_fn_group_banner 127 'rpmvercmp.at:89' \
 
7616
#AT_STOP_130
 
7617
#AT_START_131
 
7618
at_fn_group_banner 131 'rpmvercmp.at:89' \
7259
7619
  "rpmvercmp(_+, _+) = 0" "                          " 8
7260
7620
at_xfail=no
7261
7621
(
7262
 
  $as_echo "127. $at_setup_line: testing $at_desc ..."
 
7622
  $as_echo "131. $at_setup_line: testing $at_desc ..."
7263
7623
  $at_traceon
7264
7624
 
7265
7625
 
7282
7642
  $at_times_p && times >"$at_times_file"
7283
7643
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7284
7644
read at_status <"$at_status_file"
7285
 
#AT_STOP_127
7286
 
#AT_START_128
7287
 
at_fn_group_banner 128 'rpmvercmp.at:90' \
 
7645
#AT_STOP_131
 
7646
#AT_START_132
 
7647
at_fn_group_banner 132 'rpmvercmp.at:90' \
7288
7648
  "rpmvercmp(+, _) = 0" "                            " 8
7289
7649
at_xfail=no
7290
7650
(
7291
 
  $as_echo "128. $at_setup_line: testing $at_desc ..."
 
7651
  $as_echo "132. $at_setup_line: testing $at_desc ..."
7292
7652
  $at_traceon
7293
7653
 
7294
7654
 
7311
7671
  $at_times_p && times >"$at_times_file"
7312
7672
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7313
7673
read at_status <"$at_status_file"
7314
 
#AT_STOP_128
7315
 
#AT_START_129
7316
 
at_fn_group_banner 129 'rpmvercmp.at:91' \
 
7674
#AT_STOP_132
 
7675
#AT_START_133
 
7676
at_fn_group_banner 133 'rpmvercmp.at:91' \
7317
7677
  "rpmvercmp(_, +) = 0" "                            " 8
7318
7678
at_xfail=no
7319
7679
(
7320
 
  $as_echo "129. $at_setup_line: testing $at_desc ..."
 
7680
  $as_echo "133. $at_setup_line: testing $at_desc ..."
7321
7681
  $at_traceon
7322
7682
 
7323
7683
 
7340
7700
  $at_times_p && times >"$at_times_file"
7341
7701
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7342
7702
read at_status <"$at_status_file"
7343
 
#AT_STOP_129
7344
 
#AT_START_130
7345
 
at_fn_group_banner 130 'rpmvercmp.at:94' \
 
7703
#AT_STOP_133
 
7704
#AT_START_134
 
7705
at_fn_group_banner 134 'rpmvercmp.at:94' \
7346
7706
  "rpmvercmp(1.0~rc1, 1.0~rc1) = 0" "                " 8
7347
7707
at_xfail=no
7348
7708
(
7349
 
  $as_echo "130. $at_setup_line: testing $at_desc ..."
 
7709
  $as_echo "134. $at_setup_line: testing $at_desc ..."
7350
7710
  $at_traceon
7351
7711
 
7352
7712
 
7369
7729
  $at_times_p && times >"$at_times_file"
7370
7730
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7371
7731
read at_status <"$at_status_file"
7372
 
#AT_STOP_130
7373
 
#AT_START_131
7374
 
at_fn_group_banner 131 'rpmvercmp.at:95' \
 
7732
#AT_STOP_134
 
7733
#AT_START_135
 
7734
at_fn_group_banner 135 'rpmvercmp.at:95' \
7375
7735
  "rpmvercmp(1.0~rc1, 1.0) = -1" "                   " 8
7376
7736
at_xfail=no
7377
7737
(
7378
 
  $as_echo "131. $at_setup_line: testing $at_desc ..."
 
7738
  $as_echo "135. $at_setup_line: testing $at_desc ..."
7379
7739
  $at_traceon
7380
7740
 
7381
7741
 
7398
7758
  $at_times_p && times >"$at_times_file"
7399
7759
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7400
7760
read at_status <"$at_status_file"
7401
 
#AT_STOP_131
7402
 
#AT_START_132
7403
 
at_fn_group_banner 132 'rpmvercmp.at:96' \
 
7761
#AT_STOP_135
 
7762
#AT_START_136
 
7763
at_fn_group_banner 136 'rpmvercmp.at:96' \
7404
7764
  "rpmvercmp(1.0, 1.0~rc1) = 1" "                    " 8
7405
7765
at_xfail=no
7406
7766
(
7407
 
  $as_echo "132. $at_setup_line: testing $at_desc ..."
 
7767
  $as_echo "136. $at_setup_line: testing $at_desc ..."
7408
7768
  $at_traceon
7409
7769
 
7410
7770
 
7427
7787
  $at_times_p && times >"$at_times_file"
7428
7788
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7429
7789
read at_status <"$at_status_file"
7430
 
#AT_STOP_132
7431
 
#AT_START_133
7432
 
at_fn_group_banner 133 'rpmvercmp.at:97' \
 
7790
#AT_STOP_136
 
7791
#AT_START_137
 
7792
at_fn_group_banner 137 'rpmvercmp.at:97' \
7433
7793
  "rpmvercmp(1.0~rc1, 1.0~rc2) = -1" "               " 8
7434
7794
at_xfail=no
7435
7795
(
7436
 
  $as_echo "133. $at_setup_line: testing $at_desc ..."
 
7796
  $as_echo "137. $at_setup_line: testing $at_desc ..."
7437
7797
  $at_traceon
7438
7798
 
7439
7799
 
7456
7816
  $at_times_p && times >"$at_times_file"
7457
7817
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7458
7818
read at_status <"$at_status_file"
7459
 
#AT_STOP_133
7460
 
#AT_START_134
7461
 
at_fn_group_banner 134 'rpmvercmp.at:98' \
 
7819
#AT_STOP_137
 
7820
#AT_START_138
 
7821
at_fn_group_banner 138 'rpmvercmp.at:98' \
7462
7822
  "rpmvercmp(1.0~rc2, 1.0~rc1) = 1" "                " 8
7463
7823
at_xfail=no
7464
7824
(
7465
 
  $as_echo "134. $at_setup_line: testing $at_desc ..."
 
7825
  $as_echo "138. $at_setup_line: testing $at_desc ..."
7466
7826
  $at_traceon
7467
7827
 
7468
7828
 
7485
7845
  $at_times_p && times >"$at_times_file"
7486
7846
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7487
7847
read at_status <"$at_status_file"
7488
 
#AT_STOP_134
7489
 
#AT_START_135
7490
 
at_fn_group_banner 135 'rpmvercmp.at:99' \
 
7848
#AT_STOP_138
 
7849
#AT_START_139
 
7850
at_fn_group_banner 139 'rpmvercmp.at:99' \
7491
7851
  "rpmvercmp(1.0~rc1~git123, 1.0~rc1~git123) = 0" "  " 8
7492
7852
at_xfail=no
7493
7853
(
7494
 
  $as_echo "135. $at_setup_line: testing $at_desc ..."
 
7854
  $as_echo "139. $at_setup_line: testing $at_desc ..."
7495
7855
  $at_traceon
7496
7856
 
7497
7857
 
7514
7874
  $at_times_p && times >"$at_times_file"
7515
7875
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7516
7876
read at_status <"$at_status_file"
7517
 
#AT_STOP_135
7518
 
#AT_START_136
7519
 
at_fn_group_banner 136 'rpmvercmp.at:100' \
 
7877
#AT_STOP_139
 
7878
#AT_START_140
 
7879
at_fn_group_banner 140 'rpmvercmp.at:100' \
7520
7880
  "rpmvercmp(1.0~rc1~git123, 1.0~rc1) = -1" "        " 8
7521
7881
at_xfail=no
7522
7882
(
7523
 
  $as_echo "136. $at_setup_line: testing $at_desc ..."
 
7883
  $as_echo "140. $at_setup_line: testing $at_desc ..."
7524
7884
  $at_traceon
7525
7885
 
7526
7886
 
7543
7903
  $at_times_p && times >"$at_times_file"
7544
7904
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7545
7905
read at_status <"$at_status_file"
7546
 
#AT_STOP_136
7547
 
#AT_START_137
7548
 
at_fn_group_banner 137 'rpmvercmp.at:101' \
 
7906
#AT_STOP_140
 
7907
#AT_START_141
 
7908
at_fn_group_banner 141 'rpmvercmp.at:101' \
7549
7909
  "rpmvercmp(1.0~rc1, 1.0~rc1~git123) = 1" "         " 8
7550
7910
at_xfail=no
7551
7911
(
7552
 
  $as_echo "137. $at_setup_line: testing $at_desc ..."
 
7912
  $as_echo "141. $at_setup_line: testing $at_desc ..."
7553
7913
  $at_traceon
7554
7914
 
7555
7915
 
7572
7932
  $at_times_p && times >"$at_times_file"
7573
7933
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7574
7934
read at_status <"$at_status_file"
7575
 
#AT_STOP_137
7576
 
#AT_START_138
7577
 
at_fn_group_banner 138 'rpmdeps.at:7' \
 
7935
#AT_STOP_141
 
7936
#AT_START_142
 
7937
at_fn_group_banner 142 'rpmdeps.at:7' \
7578
7938
  "missing dependency" "                             " 9
7579
7939
at_xfail=no
7580
7940
(
7581
 
  $as_echo "138. $at_setup_line: testing $at_desc ..."
 
7941
  $as_echo "142. $at_setup_line: testing $at_desc ..."
7582
7942
  $at_traceon
7583
7943
 
7584
7944
 
7632
7992
  $at_times_p && times >"$at_times_file"
7633
7993
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7634
7994
read at_status <"$at_status_file"
7635
 
#AT_STOP_138
7636
 
#AT_START_139
7637
 
at_fn_group_banner 139 'rpmdeps.at:30' \
 
7995
#AT_STOP_142
 
7996
#AT_START_143
 
7997
at_fn_group_banner 143 'rpmdeps.at:30' \
7638
7998
  "cross-depending packages" "                       " 9
7639
7999
at_xfail=no
7640
8000
(
7641
 
  $as_echo "139. $at_setup_line: testing $at_desc ..."
 
8001
  $as_echo "143. $at_setup_line: testing $at_desc ..."
7642
8002
  $at_traceon
7643
8003
 
7644
8004
 
7699
8059
  $at_times_p && times >"$at_times_file"
7700
8060
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7701
8061
read at_status <"$at_status_file"
7702
 
#AT_STOP_139
7703
 
#AT_START_140
7704
 
at_fn_group_banner 140 'rpmdeps.at:56' \
 
8062
#AT_STOP_143
 
8063
#AT_START_144
 
8064
at_fn_group_banner 144 'rpmdeps.at:56' \
7705
8065
  "unsatisfied versioned require" "                  " 9
7706
8066
at_xfail=no
7707
8067
(
7708
 
  $as_echo "140. $at_setup_line: testing $at_desc ..."
 
8068
  $as_echo "144. $at_setup_line: testing $at_desc ..."
7709
8069
  $at_traceon
7710
8070
 
7711
8071
 
7769
8129
  $at_times_p && times >"$at_times_file"
7770
8130
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7771
8131
read at_status <"$at_status_file"
7772
 
#AT_STOP_140
7773
 
#AT_START_141
7774
 
at_fn_group_banner 141 'rpmdeps.at:84' \
 
8132
#AT_STOP_144
 
8133
#AT_START_145
 
8134
at_fn_group_banner 145 'rpmdeps.at:84' \
7775
8135
  "satisfied versioned require" "                    " 9
7776
8136
at_xfail=no
7777
8137
(
7778
 
  $as_echo "141. $at_setup_line: testing $at_desc ..."
 
8138
  $as_echo "145. $at_setup_line: testing $at_desc ..."
7779
8139
  $at_traceon
7780
8140
 
7781
8141
 
7836
8196
  $at_times_p && times >"$at_times_file"
7837
8197
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7838
8198
read at_status <"$at_status_file"
7839
 
#AT_STOP_141
7840
 
#AT_START_142
7841
 
at_fn_group_banner 142 'rpmdeps.at:110' \
 
8199
#AT_STOP_145
 
8200
#AT_START_146
 
8201
at_fn_group_banner 146 'rpmdeps.at:110' \
7842
8202
  "versioned conflict in transaction" "              " 9
7843
8203
at_xfail=no
7844
8204
(
7845
 
  $as_echo "142. $at_setup_line: testing $at_desc ..."
 
8205
  $as_echo "146. $at_setup_line: testing $at_desc ..."
7846
8206
  $at_traceon
7847
8207
 
7848
8208
 
7904
8264
  $at_times_p && times >"$at_times_file"
7905
8265
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7906
8266
read at_status <"$at_status_file"
7907
 
#AT_STOP_142
7908
 
#AT_START_143
7909
 
at_fn_group_banner 143 'rpmdeps.at:137' \
 
8267
#AT_STOP_146
 
8268
#AT_START_147
 
8269
at_fn_group_banner 147 'rpmdeps.at:137' \
7910
8270
  "versioned conflict in database" "                 " 9
7911
8271
at_xfail=no
7912
8272
(
7913
 
  $as_echo "143. $at_setup_line: testing $at_desc ..."
 
8273
  $as_echo "147. $at_setup_line: testing $at_desc ..."
7914
8274
  $at_traceon
7915
8275
 
7916
8276
 
7974
8334
  $at_times_p && times >"$at_times_file"
7975
8335
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
7976
8336
read at_status <"$at_status_file"
7977
 
#AT_STOP_143
7978
 
#AT_START_144
7979
 
at_fn_group_banner 144 'rpmdeps.at:164' \
 
8337
#AT_STOP_147
 
8338
#AT_START_148
 
8339
at_fn_group_banner 148 'rpmdeps.at:164' \
7980
8340
  "erase to break dependencies" "                    " 9
7981
8341
at_xfail=no
7982
8342
(
7983
 
  $as_echo "144. $at_setup_line: testing $at_desc ..."
 
8343
  $as_echo "148. $at_setup_line: testing $at_desc ..."
7984
8344
  $at_traceon
7985
8345
 
7986
8346
 
8046
8406
  $at_times_p && times >"$at_times_file"
8047
8407
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
8048
8408
read at_status <"$at_status_file"
8049
 
#AT_STOP_144
8050
 
#AT_START_145
8051
 
at_fn_group_banner 145 'rpmdeps.at:192' \
 
8409
#AT_STOP_148
 
8410
#AT_START_149
 
8411
at_fn_group_banner 149 'rpmdeps.at:192' \
8052
8412
  "erase to break colored file dependency" "         " 9
8053
8413
at_xfail=no
8054
8414
(
8055
 
  $as_echo "145. $at_setup_line: testing $at_desc ..."
 
8415
  $as_echo "149. $at_setup_line: testing $at_desc ..."
8056
8416
  $at_traceon
8057
8417
 
8058
8418
 
8120
8480
  $at_times_p && times >"$at_times_file"
8121
8481
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
8122
8482
read at_status <"$at_status_file"
8123
 
#AT_STOP_145
8124
 
#AT_START_146
8125
 
at_fn_group_banner 146 'rpmdeps.at:221' \
 
8483
#AT_STOP_149
 
8484
#AT_START_150
 
8485
at_fn_group_banner 150 'rpmdeps.at:221' \
8126
8486
  "erase on wrong-colored file dependency" "         " 9
8127
8487
at_xfail=no
8128
8488
(
8129
 
  $as_echo "146. $at_setup_line: testing $at_desc ..."
 
8489
  $as_echo "150. $at_setup_line: testing $at_desc ..."
8130
8490
  $at_traceon
8131
8491
 
8132
8492
 
8191
8551
  $at_times_p && times >"$at_times_file"
8192
8552
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
8193
8553
read at_status <"$at_status_file"
8194
 
#AT_STOP_146
8195
 
#AT_START_147
8196
 
at_fn_group_banner 147 'rpmconflict.at:7' \
8197
 
  "rpm -U to package with file conflict" "           " 10
 
8554
#AT_STOP_150
 
8555
#AT_START_151
 
8556
at_fn_group_banner 151 'rpmconflict.at:7' \
 
8557
  "package with file conflict" "                     " 10
8198
8558
at_xfail=no
8199
8559
(
8200
 
  $as_echo "147. $at_setup_line: testing $at_desc ..."
 
8560
  $as_echo "151. $at_setup_line: testing $at_desc ..."
8201
8561
  $at_traceon
8202
8562
 
8203
8563
 
8254
8614
  $at_times_p && times >"$at_times_file"
8255
8615
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
8256
8616
read at_status <"$at_status_file"
8257
 
#AT_STOP_147
8258
 
#AT_START_148
8259
 
at_fn_group_banner 148 'rpmconflict.at:31' \
8260
 
  "rpm -U two packages with a conflicting file" "    " 10
 
8617
#AT_STOP_151
 
8618
#AT_START_152
 
8619
at_fn_group_banner 152 'rpmconflict.at:31' \
 
8620
  "two packages with a conflicting file" "           " 10
8261
8621
at_xfail=no
8262
8622
(
8263
 
  $as_echo "148. $at_setup_line: testing $at_desc ..."
 
8623
  $as_echo "152. $at_setup_line: testing $at_desc ..."
8264
8624
  $at_traceon
8265
8625
 
8266
8626
 
8303
8663
  $at_times_p && times >"$at_times_file"
8304
8664
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
8305
8665
read at_status <"$at_status_file"
8306
 
#AT_STOP_148
8307
 
#AT_START_149
8308
 
at_fn_group_banner 149 'rpmconflict.at:48' \
8309
 
  "rpm -U package with shareable file" "             " 10
 
8666
#AT_STOP_152
 
8667
#AT_START_153
 
8668
at_fn_group_banner 153 'rpmconflict.at:48' \
 
8669
  "package with shareable file" "                    " 10
8310
8670
at_xfail=no
8311
8671
(
8312
 
  $as_echo "149. $at_setup_line: testing $at_desc ..."
 
8672
  $as_echo "153. $at_setup_line: testing $at_desc ..."
8313
8673
  $at_traceon
8314
8674
 
8315
8675
 
8366
8726
  $at_times_p && times >"$at_times_file"
8367
8727
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
8368
8728
read at_status <"$at_status_file"
8369
 
#AT_STOP_149
8370
 
#AT_START_150
8371
 
at_fn_group_banner 150 'rpmconflict.at:72' \
8372
 
  "rpm -U two packages with shareable file" "        " 10
 
8729
#AT_STOP_153
 
8730
#AT_START_154
 
8731
at_fn_group_banner 154 'rpmconflict.at:72' \
 
8732
  "two packages with shareable file" "               " 10
8373
8733
at_xfail=no
8374
8734
(
8375
 
  $as_echo "150. $at_setup_line: testing $at_desc ..."
 
8735
  $as_echo "154. $at_setup_line: testing $at_desc ..."
8376
8736
  $at_traceon
8377
8737
 
8378
8738
 
8415
8775
  $at_times_p && times >"$at_times_file"
8416
8776
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
8417
8777
read at_status <"$at_status_file"
8418
 
#AT_STOP_150
8419
 
#AT_START_151
8420
 
at_fn_group_banner 151 'rpmconflict.at:89' \
8421
 
  "rpm -U with non-conflicting identical basenames" "" 10
 
8778
#AT_STOP_154
 
8779
#AT_START_155
 
8780
at_fn_group_banner 155 'rpmconflict.at:89' \
 
8781
  "non-conflicting identical basenames" "            " 10
8422
8782
at_xfail=no
8423
8783
(
8424
 
  $as_echo "151. $at_setup_line: testing $at_desc ..."
 
8784
  $as_echo "155. $at_setup_line: testing $at_desc ..."
8425
8785
  $at_traceon
8426
8786
 
8427
8787
 
8466
8826
  $at_times_p && times >"$at_times_file"
8467
8827
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
8468
8828
read at_status <"$at_status_file"
8469
 
#AT_STOP_151
8470
 
#AT_START_152
8471
 
at_fn_group_banner 152 'rpmconflict.at:107' \
8472
 
  "rpm -U with conflicting identical basenames" "    " 10
 
8829
#AT_STOP_155
 
8830
#AT_START_156
 
8831
at_fn_group_banner 156 'rpmconflict.at:107' \
 
8832
  "conflicting identical basenames" "                " 10
8473
8833
at_xfail=no
8474
8834
(
8475
 
  $as_echo "152. $at_setup_line: testing $at_desc ..."
 
8835
  $as_echo "156. $at_setup_line: testing $at_desc ..."
8476
8836
  $at_traceon
8477
8837
 
8478
8838
 
8523
8883
  $at_times_p && times >"$at_times_file"
8524
8884
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
8525
8885
read at_status <"$at_status_file"
8526
 
#AT_STOP_152
8527
 
#AT_START_153
8528
 
at_fn_group_banner 153 'rpmconflict.at:127' \
8529
 
  "rpm -U multilib elf conflict, prefer 64bit" "     " 10
 
8886
#AT_STOP_156
 
8887
#AT_START_157
 
8888
at_fn_group_banner 157 'rpmconflict.at:127' \
 
8889
  "multilib elf conflict, prefer 64bit 1" "          " 10
8530
8890
at_xfail=no
8531
8891
(
8532
 
  $as_echo "153. $at_setup_line: testing $at_desc ..."
 
8892
  $as_echo "157. $at_setup_line: testing $at_desc ..."
8533
8893
  $at_traceon
8534
8894
 
8535
8895
 
8547
8907
  --define \"_prefer_color 2\" \\
8548
8908
  /data/RPMS/hello-2.0-1.i686.rpm \\
8549
8909
  /data/RPMS/hello-2.0-1.x86_64.rpm
8550
 
runroot rpm -q --qf \"[%{filestates:fstate} ]\" hello.i686 hello.x86_64
 
8910
runroot rpm -q --qf \"[%{filestates:fstate},]\\n\" hello.i686 hello.x86_64
8551
8911
"
8552
8912
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:129"
8553
8913
( $at_check_trace;
8563
8923
  --define "_prefer_color 2" \
8564
8924
  /data/RPMS/hello-2.0-1.i686.rpm \
8565
8925
  /data/RPMS/hello-2.0-1.x86_64.rpm
8566
 
runroot rpm -q --qf "[%{filestates:fstate} ]" hello.i686 hello.x86_64
 
8926
runroot rpm -q --qf "[%{filestates:fstate},]\n" hello.i686 hello.x86_64
8567
8927
 
8568
8928
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
8569
8929
at_status=$? at_failed=false
8570
8930
$at_check_filter
8571
8931
at_fn_diff_devnull "$at_stderr" || at_failed=:
8572
 
echo >>"$at_stdout"; $as_echo "wrong color normal normal normal normal normal normal normal normal normal " | \
 
8932
echo >>"$at_stdout"; $as_echo "wrong color,normal,normal,normal,normal,
 
8933
normal,normal,normal,normal,normal,
 
8934
" | \
8573
8935
  $at_diff - "$at_stdout" || at_failed=:
8574
8936
at_fn_check_status 0 $at_status "$at_srcdir/rpmconflict.at:129"
8575
8937
$at_failed && at_fn_log_failure
8579
8941
  $at_times_p && times >"$at_times_file"
8580
8942
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
8581
8943
read at_status <"$at_status_file"
8582
 
#AT_STOP_153
8583
 
#AT_START_154
8584
 
at_fn_group_banner 154 'rpmconflict.at:147' \
8585
 
  "rpm -U multilib elf conflict, prefer 32bit" "     " 10
8586
 
at_xfail=no
8587
 
(
8588
 
  $as_echo "154. $at_setup_line: testing $at_desc ..."
8589
 
  $at_traceon
8590
 
 
8591
 
 
8592
 
{ set +x
8593
 
$as_echo "$at_srcdir/rpmconflict.at:149:
 
8944
#AT_STOP_157
 
8945
#AT_START_158
 
8946
at_fn_group_banner 158 'rpmconflict.at:149' \
 
8947
  "multilib elf conflict, prefer 64bit 2" "          " 10
 
8948
at_xfail=no
 
8949
(
 
8950
  $as_echo "158. $at_setup_line: testing $at_desc ..."
 
8951
  $at_traceon
 
8952
 
 
8953
 
 
8954
{ set +x
 
8955
$as_echo "$at_srcdir/rpmconflict.at:151:
 
8956
 
 
8957
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
8958
 
 
8959
 
 
8960
runroot rpm --initdb
 
8961
 
 
8962
 
 
8963
runroot rpm -U --ignoreos --ignorearch --nodeps \\
 
8964
  --define \"_transaction_color 3\" \\
 
8965
  --define \"_prefer_color 2\" \\
 
8966
  /data/RPMS/hello-2.0-1.i686.rpm
 
8967
runroot rpm -q --qf \"[%{filestates:fstate},]\\n\" hello.i686
 
8968
runroot rpm -U --ignoreos --ignorearch --nodeps \\
 
8969
  --define \"_transaction_color 3\" \\
 
8970
  --define \"_prefer_color 2\" \\
 
8971
  /data/RPMS/hello-2.0-1.x86_64.rpm
 
8972
runroot rpm -q --qf \"[%{filestates:fstate},]\\n\" hello.i686 hello.x86_64
 
8973
"
 
8974
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:151"
 
8975
( $at_check_trace;
 
8976
 
 
8977
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
8978
 
 
8979
 
 
8980
runroot rpm --initdb
 
8981
 
 
8982
 
 
8983
runroot rpm -U --ignoreos --ignorearch --nodeps \
 
8984
  --define "_transaction_color 3" \
 
8985
  --define "_prefer_color 2" \
 
8986
  /data/RPMS/hello-2.0-1.i686.rpm
 
8987
runroot rpm -q --qf "[%{filestates:fstate},]\n" hello.i686
 
8988
runroot rpm -U --ignoreos --ignorearch --nodeps \
 
8989
  --define "_transaction_color 3" \
 
8990
  --define "_prefer_color 2" \
 
8991
  /data/RPMS/hello-2.0-1.x86_64.rpm
 
8992
runroot rpm -q --qf "[%{filestates:fstate},]\n" hello.i686 hello.x86_64
 
8993
 
 
8994
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
8995
at_status=$? at_failed=false
 
8996
$at_check_filter
 
8997
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
8998
echo >>"$at_stdout"; $as_echo "normal,normal,normal,normal,normal,
 
8999
wrong color,normal,normal,normal,normal,
 
9000
normal,normal,normal,normal,normal,
 
9001
" | \
 
9002
  $at_diff - "$at_stdout" || at_failed=:
 
9003
at_fn_check_status 0 $at_status "$at_srcdir/rpmconflict.at:151"
 
9004
$at_failed && at_fn_log_failure
 
9005
$at_traceon; }
 
9006
 
 
9007
  set +x
 
9008
  $at_times_p && times >"$at_times_file"
 
9009
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
9010
read at_status <"$at_status_file"
 
9011
#AT_STOP_158
 
9012
#AT_START_159
 
9013
at_fn_group_banner 159 'rpmconflict.at:176' \
 
9014
  "multilib elf conflict, prefer 64bit 3" "          " 10
 
9015
at_xfail=no
 
9016
(
 
9017
  $as_echo "159. $at_setup_line: testing $at_desc ..."
 
9018
  $at_traceon
 
9019
 
 
9020
 
 
9021
{ set +x
 
9022
$as_echo "$at_srcdir/rpmconflict.at:178:
 
9023
 
 
9024
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
9025
 
 
9026
 
 
9027
runroot rpm --initdb
 
9028
 
 
9029
 
 
9030
runroot rpm -U --ignoreos --ignorearch --nodeps \\
 
9031
  --define \"_transaction_color 3\" \\
 
9032
  --define \"_prefer_color 2\" \\
 
9033
  /data/RPMS/hello-2.0-1.x86_64.rpm
 
9034
runroot rpm -q --qf \"[%{filestates:fstate},]\\n\" hello.x86_64
 
9035
runroot rpm -U --ignoreos --ignorearch --nodeps \\
 
9036
  --define \"_transaction_color 3\" \\
 
9037
  --define \"_prefer_color 2\" \\
 
9038
  /data/RPMS/hello-2.0-1.i686.rpm
 
9039
runroot rpm -q --qf \"[%{filestates:fstate},]\\n\" hello.i686 hello.x86_64
 
9040
"
 
9041
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:178"
 
9042
( $at_check_trace;
 
9043
 
 
9044
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
9045
 
 
9046
 
 
9047
runroot rpm --initdb
 
9048
 
 
9049
 
 
9050
runroot rpm -U --ignoreos --ignorearch --nodeps \
 
9051
  --define "_transaction_color 3" \
 
9052
  --define "_prefer_color 2" \
 
9053
  /data/RPMS/hello-2.0-1.x86_64.rpm
 
9054
runroot rpm -q --qf "[%{filestates:fstate},]\n" hello.x86_64
 
9055
runroot rpm -U --ignoreos --ignorearch --nodeps \
 
9056
  --define "_transaction_color 3" \
 
9057
  --define "_prefer_color 2" \
 
9058
  /data/RPMS/hello-2.0-1.i686.rpm
 
9059
runroot rpm -q --qf "[%{filestates:fstate},]\n" hello.i686 hello.x86_64
 
9060
 
 
9061
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
9062
at_status=$? at_failed=false
 
9063
$at_check_filter
 
9064
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
9065
echo >>"$at_stdout"; $as_echo "normal,normal,normal,normal,normal,
 
9066
wrong color,normal,normal,normal,normal,
 
9067
normal,normal,normal,normal,normal,
 
9068
" | \
 
9069
  $at_diff - "$at_stdout" || at_failed=:
 
9070
at_fn_check_status 0 $at_status "$at_srcdir/rpmconflict.at:178"
 
9071
$at_failed && at_fn_log_failure
 
9072
$at_traceon; }
 
9073
 
 
9074
  set +x
 
9075
  $at_times_p && times >"$at_times_file"
 
9076
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
9077
read at_status <"$at_status_file"
 
9078
#AT_STOP_159
 
9079
#AT_START_160
 
9080
at_fn_group_banner 160 'rpmconflict.at:203' \
 
9081
  "multilib elf conflict, prefer 32bit 1" "          " 10
 
9082
at_xfail=no
 
9083
(
 
9084
  $as_echo "160. $at_setup_line: testing $at_desc ..."
 
9085
  $at_traceon
 
9086
 
 
9087
 
 
9088
{ set +x
 
9089
$as_echo "$at_srcdir/rpmconflict.at:205:
8594
9090
 
8595
9091
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
8596
9092
 
8603
9099
  --define \"_prefer_color 1\" \\
8604
9100
  /data/RPMS/hello-2.0-1.i686.rpm \\
8605
9101
  /data/RPMS/hello-2.0-1.x86_64.rpm
8606
 
runroot rpm -q --qf \"[%{filestates:fstate} ]\" hello.i686 hello.x86_64
 
9102
runroot rpm -q --qf \"[%{filestates:fstate},]\\n\" hello.i686 hello.x86_64
8607
9103
"
8608
 
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:149"
 
9104
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:205"
8609
9105
( $at_check_trace;
8610
9106
 
8611
9107
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
8619
9115
  --define "_prefer_color 1" \
8620
9116
  /data/RPMS/hello-2.0-1.i686.rpm \
8621
9117
  /data/RPMS/hello-2.0-1.x86_64.rpm
8622
 
runroot rpm -q --qf "[%{filestates:fstate} ]" hello.i686 hello.x86_64
8623
 
 
8624
 
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
8625
 
at_status=$? at_failed=false
8626
 
$at_check_filter
8627
 
at_fn_diff_devnull "$at_stderr" || at_failed=:
8628
 
echo >>"$at_stdout"; $as_echo "normal normal normal normal normal wrong color normal normal normal normal " | \
8629
 
  $at_diff - "$at_stdout" || at_failed=:
8630
 
at_fn_check_status 0 $at_status "$at_srcdir/rpmconflict.at:149"
8631
 
$at_failed && at_fn_log_failure
8632
 
$at_traceon; }
8633
 
 
8634
 
  set +x
8635
 
  $at_times_p && times >"$at_times_file"
8636
 
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
8637
 
read at_status <"$at_status_file"
8638
 
#AT_STOP_154
8639
 
#AT_START_155
8640
 
at_fn_group_banner 155 'rpmconflict.at:167' \
8641
 
  "rpm -U multilib elf vs non-elf file conflict 1" " " 10
8642
 
at_xfail=no
8643
 
(
8644
 
  $as_echo "155. $at_setup_line: testing $at_desc ..."
8645
 
  $at_traceon
8646
 
 
8647
 
 
8648
 
{ set +x
8649
 
$as_echo "$at_srcdir/rpmconflict.at:169:
 
9118
runroot rpm -q --qf "[%{filestates:fstate},]\n" hello.i686 hello.x86_64
 
9119
 
 
9120
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
9121
at_status=$? at_failed=false
 
9122
$at_check_filter
 
9123
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
9124
echo >>"$at_stdout"; $as_echo "normal,normal,normal,normal,normal,
 
9125
wrong color,normal,normal,normal,normal,
 
9126
" | \
 
9127
  $at_diff - "$at_stdout" || at_failed=:
 
9128
at_fn_check_status 0 $at_status "$at_srcdir/rpmconflict.at:205"
 
9129
$at_failed && at_fn_log_failure
 
9130
$at_traceon; }
 
9131
 
 
9132
  set +x
 
9133
  $at_times_p && times >"$at_times_file"
 
9134
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
9135
read at_status <"$at_status_file"
 
9136
#AT_STOP_160
 
9137
#AT_START_161
 
9138
at_fn_group_banner 161 'rpmconflict.at:225' \
 
9139
  "multilib elf conflict, prefer 32bit 2" "          " 10
 
9140
at_xfail=no
 
9141
(
 
9142
  $as_echo "161. $at_setup_line: testing $at_desc ..."
 
9143
  $at_traceon
 
9144
 
 
9145
 
 
9146
{ set +x
 
9147
$as_echo "$at_srcdir/rpmconflict.at:227:
 
9148
 
 
9149
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
9150
 
 
9151
 
 
9152
runroot rpm --initdb
 
9153
 
 
9154
 
 
9155
runroot rpm -U --ignoreos --ignorearch --nodeps \\
 
9156
  --define \"_transaction_color 3\" \\
 
9157
  --define \"_prefer_color 1\" \\
 
9158
  /data/RPMS/hello-2.0-1.i686.rpm
 
9159
runroot rpm -q --qf \"[%{filestates:fstate},]\\n\" hello.i686
 
9160
runroot rpm -U --ignoreos --ignorearch --nodeps \\
 
9161
  --define \"_transaction_color 3\" \\
 
9162
  --define \"_prefer_color 1\" \\
 
9163
  /data/RPMS/hello-2.0-1.x86_64.rpm
 
9164
runroot rpm -q --qf \"[%{filestates:fstate},]\\n\" hello.i686 hello.x86_64
 
9165
"
 
9166
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:227"
 
9167
( $at_check_trace;
 
9168
 
 
9169
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
9170
 
 
9171
 
 
9172
runroot rpm --initdb
 
9173
 
 
9174
 
 
9175
runroot rpm -U --ignoreos --ignorearch --nodeps \
 
9176
  --define "_transaction_color 3" \
 
9177
  --define "_prefer_color 1" \
 
9178
  /data/RPMS/hello-2.0-1.i686.rpm
 
9179
runroot rpm -q --qf "[%{filestates:fstate},]\n" hello.i686
 
9180
runroot rpm -U --ignoreos --ignorearch --nodeps \
 
9181
  --define "_transaction_color 3" \
 
9182
  --define "_prefer_color 1" \
 
9183
  /data/RPMS/hello-2.0-1.x86_64.rpm
 
9184
runroot rpm -q --qf "[%{filestates:fstate},]\n" hello.i686 hello.x86_64
 
9185
 
 
9186
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
9187
at_status=$? at_failed=false
 
9188
$at_check_filter
 
9189
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
9190
echo >>"$at_stdout"; $as_echo "normal,normal,normal,normal,normal,
 
9191
normal,normal,normal,normal,normal,
 
9192
wrong color,normal,normal,normal,normal,
 
9193
" | \
 
9194
  $at_diff - "$at_stdout" || at_failed=:
 
9195
at_fn_check_status 0 $at_status "$at_srcdir/rpmconflict.at:227"
 
9196
$at_failed && at_fn_log_failure
 
9197
$at_traceon; }
 
9198
 
 
9199
  set +x
 
9200
  $at_times_p && times >"$at_times_file"
 
9201
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
9202
read at_status <"$at_status_file"
 
9203
#AT_STOP_161
 
9204
#AT_START_162
 
9205
at_fn_group_banner 162 'rpmconflict.at:252' \
 
9206
  "multilib elf conflict, prefer 32bit 3" "          " 10
 
9207
at_xfail=no
 
9208
(
 
9209
  $as_echo "162. $at_setup_line: testing $at_desc ..."
 
9210
  $at_traceon
 
9211
 
 
9212
 
 
9213
{ set +x
 
9214
$as_echo "$at_srcdir/rpmconflict.at:254:
 
9215
 
 
9216
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
9217
 
 
9218
 
 
9219
runroot rpm --initdb
 
9220
 
 
9221
 
 
9222
runroot rpm -U --ignoreos --ignorearch --nodeps \\
 
9223
  --define \"_transaction_color 3\" \\
 
9224
  --define \"_prefer_color 1\" \\
 
9225
  /data/RPMS/hello-2.0-1.x86_64.rpm
 
9226
runroot rpm -q --qf \"[%{filestates:fstate},]\\n\" hello.x86_64
 
9227
runroot rpm -U --ignoreos --ignorearch --nodeps \\
 
9228
  --define \"_transaction_color 3\" \\
 
9229
  --define \"_prefer_color 1\" \\
 
9230
  /data/RPMS/hello-2.0-1.i686.rpm
 
9231
runroot rpm -q --qf \"[%{filestates:fstate},]\\n\" hello.i686 hello.x86_64
 
9232
"
 
9233
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:254"
 
9234
( $at_check_trace;
 
9235
 
 
9236
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
9237
 
 
9238
 
 
9239
runroot rpm --initdb
 
9240
 
 
9241
 
 
9242
runroot rpm -U --ignoreos --ignorearch --nodeps \
 
9243
  --define "_transaction_color 3" \
 
9244
  --define "_prefer_color 1" \
 
9245
  /data/RPMS/hello-2.0-1.x86_64.rpm
 
9246
runroot rpm -q --qf "[%{filestates:fstate},]\n" hello.x86_64
 
9247
runroot rpm -U --ignoreos --ignorearch --nodeps \
 
9248
  --define "_transaction_color 3" \
 
9249
  --define "_prefer_color 1" \
 
9250
  /data/RPMS/hello-2.0-1.i686.rpm
 
9251
runroot rpm -q --qf "[%{filestates:fstate},]\n" hello.i686 hello.x86_64
 
9252
 
 
9253
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
9254
at_status=$? at_failed=false
 
9255
$at_check_filter
 
9256
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
9257
echo >>"$at_stdout"; $as_echo "normal,normal,normal,normal,normal,
 
9258
normal,normal,normal,normal,normal,
 
9259
wrong color,normal,normal,normal,normal,
 
9260
" | \
 
9261
  $at_diff - "$at_stdout" || at_failed=:
 
9262
at_fn_check_status 0 $at_status "$at_srcdir/rpmconflict.at:254"
 
9263
$at_failed && at_fn_log_failure
 
9264
$at_traceon; }
 
9265
 
 
9266
  set +x
 
9267
  $at_times_p && times >"$at_times_file"
 
9268
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
9269
read at_status <"$at_status_file"
 
9270
#AT_STOP_162
 
9271
#AT_START_163
 
9272
at_fn_group_banner 163 'rpmconflict.at:279' \
 
9273
  "multilib elf vs non-elf file conflict 1" "        " 10
 
9274
at_xfail=no
 
9275
(
 
9276
  $as_echo "163. $at_setup_line: testing $at_desc ..."
 
9277
  $at_traceon
 
9278
 
 
9279
 
 
9280
{ set +x
 
9281
$as_echo "$at_srcdir/rpmconflict.at:281:
8650
9282
 
8651
9283
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
8652
9284
 
8662
9294
  /data/RPMS/hello-2.0-1.x86_64.rpm \\
8663
9295
  \"\${TOPDIR}\"/RPMS/noarch/hello-script-1.0-1.noarch.rpm
8664
9296
"
8665
 
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:169"
 
9297
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:281"
8666
9298
( $at_check_trace;
8667
9299
 
8668
9300
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
8686
9318
" | \
8687
9319
  $at_diff - "$at_stderr" || at_failed=:
8688
9320
at_fn_diff_devnull "$at_stdout" || at_failed=:
8689
 
at_fn_check_status 2 $at_status "$at_srcdir/rpmconflict.at:169"
 
9321
at_fn_check_status 2 $at_status "$at_srcdir/rpmconflict.at:281"
8690
9322
$at_failed && at_fn_log_failure
8691
9323
$at_traceon; }
8692
9324
 
8694
9326
  $at_times_p && times >"$at_times_file"
8695
9327
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
8696
9328
read at_status <"$at_status_file"
8697
 
#AT_STOP_155
8698
 
#AT_START_156
8699
 
at_fn_group_banner 156 'rpmconflict.at:188' \
8700
 
  "rpm -U multilib elf vs non-elf file conflict 2" " " 10
 
9329
#AT_STOP_163
 
9330
#AT_START_164
 
9331
at_fn_group_banner 164 'rpmconflict.at:300' \
 
9332
  "multilib elf vs non-elf file conflict 2" "        " 10
8701
9333
at_xfail=no
8702
9334
(
8703
 
  $as_echo "156. $at_setup_line: testing $at_desc ..."
 
9335
  $as_echo "164. $at_setup_line: testing $at_desc ..."
8704
9336
  $at_traceon
8705
9337
 
8706
9338
 
8707
9339
{ set +x
8708
 
$as_echo "$at_srcdir/rpmconflict.at:190:
 
9340
$as_echo "$at_srcdir/rpmconflict.at:302:
8709
9341
 
8710
9342
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
8711
9343
 
8725
9357
  --define \"_prefer_color 2\" \\
8726
9358
  \"\${TOPDIR}\"/RPMS/noarch/hello-script-1.0-1.noarch.rpm
8727
9359
"
8728
 
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:190"
 
9360
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:302"
8729
9361
( $at_check_trace;
8730
9362
 
8731
9363
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
8753
9385
" | \
8754
9386
  $at_diff - "$at_stderr" || at_failed=:
8755
9387
at_fn_diff_devnull "$at_stdout" || at_failed=:
8756
 
at_fn_check_status 1 $at_status "$at_srcdir/rpmconflict.at:190"
 
9388
at_fn_check_status 1 $at_status "$at_srcdir/rpmconflict.at:302"
8757
9389
$at_failed && at_fn_log_failure
8758
9390
$at_traceon; }
8759
9391
 
8761
9393
  $at_times_p && times >"$at_times_file"
8762
9394
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
8763
9395
read at_status <"$at_status_file"
8764
 
#AT_STOP_156
8765
 
#AT_START_157
8766
 
at_fn_group_banner 157 'rpmconflict.at:213' \
8767
 
  "rpm -U multilib elf vs non-elf file conflict 3" " " 10
 
9396
#AT_STOP_164
 
9397
#AT_START_165
 
9398
at_fn_group_banner 165 'rpmconflict.at:325' \
 
9399
  "multilib elf vs non-elf file conflict 3" "        " 10
8768
9400
at_xfail=no
8769
9401
(
8770
 
  $as_echo "157. $at_setup_line: testing $at_desc ..."
 
9402
  $as_echo "165. $at_setup_line: testing $at_desc ..."
8771
9403
  $at_traceon
8772
9404
 
8773
9405
 
8774
9406
{ set +x
8775
 
$as_echo "$at_srcdir/rpmconflict.at:215:
 
9407
$as_echo "$at_srcdir/rpmconflict.at:327:
8776
9408
 
8777
9409
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
8778
9410
 
8792
9424
  --define \"_prefer_color 2\" \\
8793
9425
  /data/RPMS/hello-2.0-1.x86_64.rpm
8794
9426
"
8795
 
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:215"
 
9427
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:327"
8796
9428
( $at_check_trace;
8797
9429
 
8798
9430
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
8820
9452
" | \
8821
9453
  $at_diff - "$at_stderr" || at_failed=:
8822
9454
at_fn_diff_devnull "$at_stdout" || at_failed=:
8823
 
at_fn_check_status 1 $at_status "$at_srcdir/rpmconflict.at:215"
 
9455
at_fn_check_status 1 $at_status "$at_srcdir/rpmconflict.at:327"
8824
9456
$at_failed && at_fn_log_failure
8825
9457
$at_traceon; }
8826
9458
 
8828
9460
  $at_times_p && times >"$at_times_file"
8829
9461
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
8830
9462
read at_status <"$at_status_file"
8831
 
#AT_STOP_157
8832
 
#AT_START_158
8833
 
at_fn_group_banner 158 'rpmconflict.at:239' \
8834
 
  "rpm -U replacing directory with symlink" "        " 10
 
9463
#AT_STOP_165
 
9464
#AT_START_166
 
9465
at_fn_group_banner 166 'rpmconflict.at:351' \
 
9466
  "replacing directory with symlink" "               " 10
8835
9467
at_xfail=no
8836
9468
(
8837
 
  $as_echo "158. $at_setup_line: testing $at_desc ..."
 
9469
  $as_echo "166. $at_setup_line: testing $at_desc ..."
8838
9470
  $at_traceon
8839
9471
 
8840
9472
 
8841
9473
{ set +x
8842
 
$as_echo "$at_srcdir/rpmconflict.at:241:
 
9474
$as_echo "$at_srcdir/rpmconflict.at:353:
8843
9475
 
8844
9476
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
8845
9477
 
8857
9489
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/symlinktest-1.0-1.noarch.rpm
8858
9490
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/symlinktest-1.0-2.noarch.rpm
8859
9491
"
8860
 
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:241"
 
9492
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:353"
8861
9493
( $at_check_trace;
8862
9494
 
8863
9495
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
8879
9511
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
8880
9512
at_status=$? at_failed=false
8881
9513
$at_check_filter
8882
 
echo >>"$at_stderr"; $as_echo "error: unpacking of archive failed on file /usr/share/symlinktest: cpio: rename failed - Is a directory
8883
 
error: symlinktest-1.0-2.noarch: install failed
8884
 
error: symlinktest-1.0-1.noarch: erase skipped
 
9514
echo >>"$at_stderr"; $as_echo " file /usr/share/symlinktest from install of symlinktest-1.0-2.noarch conflicts with file from package symlinktest-1.0-1.noarch
8885
9515
" | \
8886
9516
  $at_diff - "$at_stderr" || at_failed=:
8887
9517
at_fn_diff_devnull "$at_stdout" || at_failed=:
8888
 
at_fn_check_status 1 $at_status "$at_srcdir/rpmconflict.at:241"
 
9518
at_fn_check_status 2 $at_status "$at_srcdir/rpmconflict.at:353"
8889
9519
$at_failed && at_fn_log_failure
8890
9520
$at_traceon; }
8891
9521
 
8893
9523
  $at_times_p && times >"$at_times_file"
8894
9524
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
8895
9525
read at_status <"$at_status_file"
8896
 
#AT_STOP_158
8897
 
#AT_START_159
8898
 
at_fn_group_banner 159 'rpmconflict.at:267' \
8899
 
  "rpm -U replacing symlink with directory" "        " 10
 
9526
#AT_STOP_166
 
9527
#AT_START_167
 
9528
at_fn_group_banner 167 'rpmconflict.at:375' \
 
9529
  "replacing symlink with directory" "               " 10
8900
9530
at_xfail=no
8901
9531
(
8902
 
  $as_echo "159. $at_setup_line: testing $at_desc ..."
 
9532
  $as_echo "167. $at_setup_line: testing $at_desc ..."
8903
9533
  $at_traceon
8904
9534
 
8905
9535
 
8906
9536
{ set +x
8907
 
$as_echo "$at_srcdir/rpmconflict.at:269:
 
9537
$as_echo "$at_srcdir/rpmconflict.at:377:
8908
9538
 
8909
9539
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
8910
9540
 
8922
9552
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/symlinktest-1.0-1.noarch.rpm
8923
9553
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/symlinktest-1.0-2.noarch.rpm
8924
9554
"
8925
 
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:269"
 
9555
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:377"
8926
9556
( $at_check_trace;
8927
9557
 
8928
9558
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
8944
9574
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
8945
9575
at_status=$? at_failed=false
8946
9576
$at_check_filter
8947
 
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
9577
echo >>"$at_stderr"; $as_echo " file /usr/share/symlinktest from install of symlinktest-1.0-2.noarch conflicts with file from package symlinktest-1.0-1.noarch
 
9578
" | \
 
9579
  $at_diff - "$at_stderr" || at_failed=:
8948
9580
at_fn_diff_devnull "$at_stdout" || at_failed=:
8949
 
at_fn_check_status 0 $at_status "$at_srcdir/rpmconflict.at:269"
 
9581
at_fn_check_status 2 $at_status "$at_srcdir/rpmconflict.at:377"
8950
9582
$at_failed && at_fn_log_failure
8951
9583
$at_traceon; }
8952
9584
 
8954
9586
  $at_times_p && times >"$at_times_file"
8955
9587
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
8956
9588
read at_status <"$at_status_file"
8957
 
#AT_STOP_159
8958
 
#AT_START_160
8959
 
at_fn_group_banner 160 'rpmconflict.at:291' \
 
9589
#AT_STOP_167
 
9590
#AT_START_168
 
9591
at_fn_group_banner 168 'rpmconflict.at:400' \
8960
9592
  "real file with shared ghost" "                    " 10
8961
9593
at_xfail=no
8962
9594
(
8963
 
  $as_echo "160. $at_setup_line: testing $at_desc ..."
 
9595
  $as_echo "168. $at_setup_line: testing $at_desc ..."
8964
9596
  $at_traceon
8965
9597
 
8966
9598
 
8967
9599
{ set +x
8968
 
$as_echo "$at_srcdir/rpmconflict.at:293:
 
9600
$as_echo "$at_srcdir/rpmconflict.at:402:
8969
9601
 
8970
9602
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
8971
9603
 
8992
9624
runroot rpm -e conflictone
8993
9625
test ! -f \"\${fn}\" && echo OK
8994
9626
"
8995
 
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:293"
 
9627
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconflict.at:402"
8996
9628
( $at_check_trace;
8997
9629
 
8998
9630
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
9030
9662
OK
9031
9663
" | \
9032
9664
  $at_diff - "$at_stdout" || at_failed=:
9033
 
at_fn_check_status 0 $at_status "$at_srcdir/rpmconflict.at:293"
9034
 
$at_failed && at_fn_log_failure
9035
 
$at_traceon; }
9036
 
 
9037
 
  set +x
9038
 
  $at_times_p && times >"$at_times_file"
9039
 
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9040
 
read at_status <"$at_status_file"
9041
 
#AT_STOP_160
9042
 
#AT_START_161
9043
 
at_fn_group_banner 161 'rpmconfig.at:7' \
9044
 
  "rpm -U to package with unchanged config file" "   " 11
9045
 
at_xfail=no
9046
 
(
9047
 
  $as_echo "161. $at_setup_line: testing $at_desc ..."
9048
 
  $at_traceon
9049
 
 
9050
 
 
9051
 
{ set +x
9052
 
$as_echo "$at_srcdir/rpmconfig.at:9:
9053
 
 
9054
 
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
9055
 
 
9056
 
 
9057
 
runroot rpm --initdb
9058
 
 
9059
 
rm -rf \"\${TOPDIR}\"
9060
 
rm -rf \"\${RPMTEST}/etc/my.conf\"
9061
 
 
9062
 
for v in \"1.0\" \"2.0\"; do
9063
 
    runroot rpmbuild --quiet -bb \\
9064
 
        --define \"ver \$v\" \\
9065
 
        --define \"filedata foo\" \\
9066
 
          /data/SPECS/configtest.spec
9067
 
done
9068
 
 
9069
 
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
9070
 
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
9071
 
"
9072
 
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:9"
9073
 
( $at_check_trace;
9074
 
 
9075
 
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
9076
 
 
9077
 
 
9078
 
runroot rpm --initdb
9079
 
 
9080
 
rm -rf "${TOPDIR}"
9081
 
rm -rf "${RPMTEST}/etc/my.conf"
9082
 
 
9083
 
for v in "1.0" "2.0"; do
9084
 
    runroot rpmbuild --quiet -bb \
9085
 
        --define "ver $v" \
9086
 
        --define "filedata foo" \
9087
 
          /data/SPECS/configtest.spec
9088
 
done
9089
 
 
9090
 
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
9091
 
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
9092
 
 
9093
 
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
9094
 
at_status=$? at_failed=false
9095
 
$at_check_filter
9096
 
at_fn_diff_devnull "$at_stderr" || at_failed=:
9097
 
at_fn_diff_devnull "$at_stdout" || at_failed=:
9098
 
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:9"
9099
 
$at_failed && at_fn_log_failure
9100
 
$at_traceon; }
9101
 
 
9102
 
  set +x
9103
 
  $at_times_p && times >"$at_times_file"
9104
 
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9105
 
read at_status <"$at_status_file"
9106
 
#AT_STOP_161
9107
 
#AT_START_162
9108
 
at_fn_group_banner 162 'rpmconfig.at:31' \
9109
 
  "rpm -U to package with locally modified config file" "" 11
9110
 
at_xfail=no
9111
 
(
9112
 
  $as_echo "162. $at_setup_line: testing $at_desc ..."
9113
 
  $at_traceon
9114
 
 
9115
 
 
9116
 
{ set +x
9117
 
$as_echo "$at_srcdir/rpmconfig.at:33:
9118
 
 
9119
 
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
9120
 
 
9121
 
 
9122
 
runroot rpm --initdb
9123
 
 
9124
 
rm -rf \"\${TOPDIR}\"
9125
 
rm -rf \"\${RPMTEST}/etc/my.conf\"
9126
 
 
9127
 
for v in \"1.0\" \"2.0\"; do
9128
 
    runroot rpmbuild --quiet -bb \\
9129
 
        --define \"ver \$v\" \\
9130
 
        --define \"filedata foo\" \\
9131
 
          /data/SPECS/configtest.spec
9132
 
done
9133
 
 
9134
 
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
9135
 
echo \"otherstuff\" > \"\${RPMTEST}\"/etc/my.conf
9136
 
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
9137
 
"
9138
 
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:33"
9139
 
( $at_check_trace;
9140
 
 
9141
 
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
9142
 
 
9143
 
 
9144
 
runroot rpm --initdb
9145
 
 
9146
 
rm -rf "${TOPDIR}"
9147
 
rm -rf "${RPMTEST}/etc/my.conf"
9148
 
 
9149
 
for v in "1.0" "2.0"; do
9150
 
    runroot rpmbuild --quiet -bb \
9151
 
        --define "ver $v" \
9152
 
        --define "filedata foo" \
9153
 
          /data/SPECS/configtest.spec
9154
 
done
9155
 
 
9156
 
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
9157
 
echo "otherstuff" > "${RPMTEST}"/etc/my.conf
9158
 
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
9159
 
 
9160
 
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
9161
 
at_status=$? at_failed=false
9162
 
$at_check_filter
9163
 
at_fn_diff_devnull "$at_stderr" || at_failed=:
9164
 
at_fn_diff_devnull "$at_stdout" || at_failed=:
9165
 
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:33"
9166
 
$at_failed && at_fn_log_failure
9167
 
$at_traceon; }
9168
 
 
9169
 
  set +x
9170
 
  $at_times_p && times >"$at_times_file"
9171
 
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9172
 
read at_status <"$at_status_file"
9173
 
#AT_STOP_162
9174
 
#AT_START_163
9175
 
at_fn_group_banner 163 'rpmconfig.at:56' \
9176
 
  "rpm -U to package with unchanged config file" "   " 11
9177
 
at_xfail=no
9178
 
(
9179
 
  $as_echo "163. $at_setup_line: testing $at_desc ..."
9180
 
  $at_traceon
9181
 
 
9182
 
 
9183
 
{ set +x
9184
 
$as_echo "$at_srcdir/rpmconfig.at:58:
9185
 
 
9186
 
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
9187
 
 
9188
 
 
9189
 
runroot rpm --initdb
9190
 
 
9191
 
rm -rf \"\${TOPDIR}\"
9192
 
rm -rf \"\${RPMTEST}/etc/my.conf\"
9193
 
 
9194
 
for v in \"1.0\" \"2.0\"; do
9195
 
    runroot rpmbuild --quiet -bb \\
9196
 
        --define \"ver \$v\" \\
9197
 
        --define \"filedata foo-\$v\" \\
9198
 
          /data/SPECS/configtest.spec
9199
 
done
9200
 
 
9201
 
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
9202
 
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
9203
 
"
9204
 
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:58"
9205
 
( $at_check_trace;
9206
 
 
9207
 
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
9208
 
 
9209
 
 
9210
 
runroot rpm --initdb
9211
 
 
9212
 
rm -rf "${TOPDIR}"
9213
 
rm -rf "${RPMTEST}/etc/my.conf"
9214
 
 
9215
 
for v in "1.0" "2.0"; do
9216
 
    runroot rpmbuild --quiet -bb \
9217
 
        --define "ver $v" \
9218
 
        --define "filedata foo-$v" \
9219
 
          /data/SPECS/configtest.spec
9220
 
done
9221
 
 
9222
 
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
9223
 
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
9224
 
 
9225
 
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
9226
 
at_status=$? at_failed=false
9227
 
$at_check_filter
9228
 
at_fn_diff_devnull "$at_stderr" || at_failed=:
9229
 
at_fn_diff_devnull "$at_stdout" || at_failed=:
9230
 
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:58"
9231
 
$at_failed && at_fn_log_failure
9232
 
$at_traceon; }
9233
 
 
9234
 
  set +x
9235
 
  $at_times_p && times >"$at_times_file"
9236
 
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9237
 
read at_status <"$at_status_file"
9238
 
#AT_STOP_163
9239
 
#AT_START_164
9240
 
at_fn_group_banner 164 'rpmconfig.at:80' \
9241
 
  "rpm -U to package with modified config file" "    " 11
9242
 
at_xfail=no
9243
 
(
9244
 
  $as_echo "164. $at_setup_line: testing $at_desc ..."
9245
 
  $at_traceon
9246
 
 
9247
 
 
9248
 
{ set +x
9249
 
$as_echo "$at_srcdir/rpmconfig.at:82:
9250
 
 
9251
 
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
9252
 
 
9253
 
 
9254
 
runroot rpm --initdb
9255
 
 
9256
 
rm -rf \"\${TOPDIR}\"
9257
 
rm -rf \"\${RPMTEST}/etc/my.conf\"
9258
 
 
9259
 
for v in \"1.0\" \"2.0\"; do
9260
 
    runroot rpmbuild --quiet -bb \\
9261
 
        --define \"ver \$v\" \\
9262
 
        --define \"filedata foo-\$v\" \\
9263
 
          /data/SPECS/configtest.spec
9264
 
done
9265
 
 
9266
 
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
9267
 
echo \"otherstuff\" > \"\${RPMTEST}\"/etc/my.conf
9268
 
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
9269
 
"
9270
 
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:82"
9271
 
( $at_check_trace;
9272
 
 
9273
 
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
9274
 
 
9275
 
 
9276
 
runroot rpm --initdb
9277
 
 
9278
 
rm -rf "${TOPDIR}"
9279
 
rm -rf "${RPMTEST}/etc/my.conf"
9280
 
 
9281
 
for v in "1.0" "2.0"; do
9282
 
    runroot rpmbuild --quiet -bb \
9283
 
        --define "ver $v" \
9284
 
        --define "filedata foo-$v" \
9285
 
          /data/SPECS/configtest.spec
9286
 
done
9287
 
 
9288
 
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
9289
 
echo "otherstuff" > "${RPMTEST}"/etc/my.conf
9290
 
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
9291
 
 
9292
 
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
9293
 
at_status=$? at_failed=false
9294
 
$at_check_filter
9295
 
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
9296
 
" | \
9297
 
  $at_diff - "$at_stderr" || at_failed=:
9298
 
echo stdout:; cat "$at_stdout"
9299
 
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:82"
9300
 
$at_failed && at_fn_log_failure
9301
 
$at_traceon; }
9302
 
 
9303
 
  set +x
9304
 
  $at_times_p && times >"$at_times_file"
9305
 
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9306
 
read at_status <"$at_status_file"
9307
 
#AT_STOP_164
9308
 
#AT_START_165
9309
 
at_fn_group_banner 165 'rpmconfig.at:107' \
9310
 
  "install/upgrade/erase ghost config" "             " 11
9311
 
at_xfail=no
9312
 
(
9313
 
  $as_echo "165. $at_setup_line: testing $at_desc ..."
9314
 
  $at_traceon
9315
 
 
9316
 
 
9317
 
{ set +x
9318
 
$as_echo "$at_srcdir/rpmconfig.at:109:
 
9665
at_fn_check_status 0 $at_status "$at_srcdir/rpmconflict.at:402"
 
9666
$at_failed && at_fn_log_failure
 
9667
$at_traceon; }
 
9668
 
 
9669
  set +x
 
9670
  $at_times_p && times >"$at_times_file"
 
9671
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
9672
read at_status <"$at_status_file"
 
9673
#AT_STOP_168
 
9674
#AT_START_169
 
9675
at_fn_group_banner 169 'rpmreplace.at:4' \
 
9676
  "upgrade to/from regular file" "                   " 11
 
9677
at_xfail=no
 
9678
(
 
9679
  $as_echo "169. $at_setup_line: testing $at_desc ..."
 
9680
  $at_traceon
 
9681
 
 
9682
 
 
9683
{ set +x
 
9684
$as_echo "$at_srcdir/rpmreplace.at:6:
 
9685
 
 
9686
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
9687
 
 
9688
 
 
9689
runroot rpm --initdb
 
9690
 
 
9691
tf=\"\${RPMTEST}\"/opt/foo
 
9692
rm -rf \"\${tf}\" \"\${tf}\".rpm*
 
9693
rm -rf \"\${TOPDIR}\"
 
9694
 
 
9695
runroot rpmbuild --quiet -bb \\
 
9696
        --define \"ver 1.0\" \\
 
9697
        --define \"filetype file\" \\
 
9698
        --define \"filedata foo\" \\
 
9699
          /data/SPECS/replacetest.spec
 
9700
 
 
9701
runroot rpmbuild --quiet -bb \\
 
9702
        --define \"ver 2.0\" \\
 
9703
        --define \"filetype file\" \\
 
9704
        --define \"filedata bar\" \\
 
9705
          /data/SPECS/replacetest.spec
 
9706
 
 
9707
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
9708
cat \"\${tf}\"
 
9709
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
9710
cat \"\${tf}\"
 
9711
runroot rpm -U --oldpackage \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
9712
cat \"\${tf}\"
 
9713
"
 
9714
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:6"
 
9715
( $at_check_trace;
 
9716
 
 
9717
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
9718
 
 
9719
 
 
9720
runroot rpm --initdb
 
9721
 
 
9722
tf="${RPMTEST}"/opt/foo
 
9723
rm -rf "${tf}" "${tf}".rpm*
 
9724
rm -rf "${TOPDIR}"
 
9725
 
 
9726
runroot rpmbuild --quiet -bb \
 
9727
        --define "ver 1.0" \
 
9728
        --define "filetype file" \
 
9729
        --define "filedata foo" \
 
9730
          /data/SPECS/replacetest.spec
 
9731
 
 
9732
runroot rpmbuild --quiet -bb \
 
9733
        --define "ver 2.0" \
 
9734
        --define "filetype file" \
 
9735
        --define "filedata bar" \
 
9736
          /data/SPECS/replacetest.spec
 
9737
 
 
9738
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
9739
cat "${tf}"
 
9740
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
9741
cat "${tf}"
 
9742
runroot rpm -U --oldpackage "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
9743
cat "${tf}"
 
9744
 
 
9745
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
9746
at_status=$? at_failed=false
 
9747
$at_check_filter
 
9748
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
9749
echo >>"$at_stdout"; $as_echo "foo
 
9750
bar
 
9751
foo
 
9752
" | \
 
9753
  $at_diff - "$at_stdout" || at_failed=:
 
9754
at_fn_check_status 0 $at_status "$at_srcdir/rpmreplace.at:6"
 
9755
$at_failed && at_fn_log_failure
 
9756
$at_traceon; }
 
9757
 
 
9758
  set +x
 
9759
  $at_times_p && times >"$at_times_file"
 
9760
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
9761
read at_status <"$at_status_file"
 
9762
#AT_STOP_169
 
9763
#AT_START_170
 
9764
at_fn_group_banner 170 'rpmreplace.at:40' \
 
9765
  "upgrade regular file to/from broken link" "       " 11
 
9766
at_xfail=no
 
9767
(
 
9768
  $as_echo "170. $at_setup_line: testing $at_desc ..."
 
9769
  $at_traceon
 
9770
 
 
9771
 
 
9772
{ set +x
 
9773
$as_echo "$at_srcdir/rpmreplace.at:42:
 
9774
 
 
9775
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
9776
 
 
9777
 
 
9778
runroot rpm --initdb
 
9779
 
 
9780
tf=\"\${RPMTEST}\"/opt/foo
 
9781
rm -rf \"\${RPMTEST}\"/opt/*
 
9782
rm -rf \"\${TOPDIR}\"
 
9783
 
 
9784
runroot rpmbuild --quiet -bb \\
 
9785
        --define \"ver 1.0\" \\
 
9786
        --define \"filetype file\" \\
 
9787
        --define \"filedata foo\" \\
 
9788
          /data/SPECS/replacetest.spec
 
9789
 
 
9790
runroot rpmbuild --quiet -bb \\
 
9791
        --define \"ver 2.0\" \\
 
9792
        --define \"filetype link\" \\
 
9793
        --define \"filedata stuff\" \\
 
9794
          /data/SPECS/replacetest.spec
 
9795
 
 
9796
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
9797
cat \"\${tf}\"
 
9798
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
9799
readlink \"\${tf}\"
 
9800
runroot rpm -U --oldpackage \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
9801
cat \"\${tf}\"
 
9802
"
 
9803
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:42"
 
9804
( $at_check_trace;
 
9805
 
 
9806
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
9807
 
 
9808
 
 
9809
runroot rpm --initdb
 
9810
 
 
9811
tf="${RPMTEST}"/opt/foo
 
9812
rm -rf "${RPMTEST}"/opt/*
 
9813
rm -rf "${TOPDIR}"
 
9814
 
 
9815
runroot rpmbuild --quiet -bb \
 
9816
        --define "ver 1.0" \
 
9817
        --define "filetype file" \
 
9818
        --define "filedata foo" \
 
9819
          /data/SPECS/replacetest.spec
 
9820
 
 
9821
runroot rpmbuild --quiet -bb \
 
9822
        --define "ver 2.0" \
 
9823
        --define "filetype link" \
 
9824
        --define "filedata stuff" \
 
9825
          /data/SPECS/replacetest.spec
 
9826
 
 
9827
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
9828
cat "${tf}"
 
9829
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
9830
readlink "${tf}"
 
9831
runroot rpm -U --oldpackage "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
9832
cat "${tf}"
 
9833
 
 
9834
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
9835
at_status=$? at_failed=false
 
9836
$at_check_filter
 
9837
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
9838
echo >>"$at_stdout"; $as_echo "foo
 
9839
stuff
 
9840
foo
 
9841
" | \
 
9842
  $at_diff - "$at_stdout" || at_failed=:
 
9843
at_fn_check_status 0 $at_status "$at_srcdir/rpmreplace.at:42"
 
9844
$at_failed && at_fn_log_failure
 
9845
$at_traceon; }
 
9846
 
 
9847
  set +x
 
9848
  $at_times_p && times >"$at_times_file"
 
9849
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
9850
read at_status <"$at_status_file"
 
9851
#AT_STOP_170
 
9852
#AT_START_171
 
9853
at_fn_group_banner 171 'rpmreplace.at:76' \
 
9854
  "upgrade regular file to/from file link" "         " 11
 
9855
at_xfail=no
 
9856
(
 
9857
  $as_echo "171. $at_setup_line: testing $at_desc ..."
 
9858
  $at_traceon
 
9859
 
 
9860
 
 
9861
{ set +x
 
9862
$as_echo "$at_srcdir/rpmreplace.at:78:
 
9863
 
 
9864
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
9865
 
 
9866
 
 
9867
runroot rpm --initdb
 
9868
 
 
9869
tf=\"\${RPMTEST}\"/opt/foo
 
9870
rm -rf \"\${RPMTEST}\"/opt/*
 
9871
rm -rf \"\${TOPDIR}\"
 
9872
 
 
9873
runroot rpmbuild --quiet -bb \\
 
9874
        --define \"ver 1.0\" \\
 
9875
        --define \"filetype file\" \\
 
9876
        --define \"filedata foo\" \\
 
9877
          /data/SPECS/replacetest.spec
 
9878
 
 
9879
runroot rpmbuild --quiet -bb \\
 
9880
        --define \"ver 2.0\" \\
 
9881
        --define \"filetype link\" \\
 
9882
        --define \"filedata goo\" \\
 
9883
          /data/SPECS/replacetest.spec
 
9884
 
 
9885
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
9886
cat \"\${tf}\"
 
9887
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
9888
readlink \"\${tf}\"
 
9889
runroot rpm -U --oldpackage \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
9890
cat \"\${tf}\"
 
9891
"
 
9892
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:78"
 
9893
( $at_check_trace;
 
9894
 
 
9895
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
9896
 
 
9897
 
 
9898
runroot rpm --initdb
 
9899
 
 
9900
tf="${RPMTEST}"/opt/foo
 
9901
rm -rf "${RPMTEST}"/opt/*
 
9902
rm -rf "${TOPDIR}"
 
9903
 
 
9904
runroot rpmbuild --quiet -bb \
 
9905
        --define "ver 1.0" \
 
9906
        --define "filetype file" \
 
9907
        --define "filedata foo" \
 
9908
          /data/SPECS/replacetest.spec
 
9909
 
 
9910
runroot rpmbuild --quiet -bb \
 
9911
        --define "ver 2.0" \
 
9912
        --define "filetype link" \
 
9913
        --define "filedata goo" \
 
9914
          /data/SPECS/replacetest.spec
 
9915
 
 
9916
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
9917
cat "${tf}"
 
9918
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
9919
readlink "${tf}"
 
9920
runroot rpm -U --oldpackage "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
9921
cat "${tf}"
 
9922
 
 
9923
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
9924
at_status=$? at_failed=false
 
9925
$at_check_filter
 
9926
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
9927
echo >>"$at_stdout"; $as_echo "foo
 
9928
goo
 
9929
foo
 
9930
" | \
 
9931
  $at_diff - "$at_stdout" || at_failed=:
 
9932
at_fn_check_status 0 $at_status "$at_srcdir/rpmreplace.at:78"
 
9933
$at_failed && at_fn_log_failure
 
9934
$at_traceon; }
 
9935
 
 
9936
  set +x
 
9937
  $at_times_p && times >"$at_times_file"
 
9938
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
9939
read at_status <"$at_status_file"
 
9940
#AT_STOP_171
 
9941
#AT_START_172
 
9942
at_fn_group_banner 172 'rpmreplace.at:112' \
 
9943
  "upgrade broken link to broken link" "             " 11
 
9944
at_xfail=no
 
9945
(
 
9946
  $as_echo "172. $at_setup_line: testing $at_desc ..."
 
9947
  $at_traceon
 
9948
 
 
9949
 
 
9950
{ set +x
 
9951
$as_echo "$at_srcdir/rpmreplace.at:114:
 
9952
 
 
9953
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
9954
 
 
9955
 
 
9956
runroot rpm --initdb
 
9957
 
 
9958
tf=\"\${RPMTEST}\"/opt/foo
 
9959
rm -rf \"\${RPMTEST}\"/opt/*
 
9960
rm -rf \"\${TOPDIR}\"
 
9961
 
 
9962
runroot rpmbuild --quiet -bb \\
 
9963
        --define \"ver 1.0\" \\
 
9964
        --define \"filetype link\" \\
 
9965
        --define \"filedata stiff\" \\
 
9966
          /data/SPECS/replacetest.spec
 
9967
 
 
9968
runroot rpmbuild --quiet -bb \\
 
9969
        --define \"ver 2.0\" \\
 
9970
        --define \"filetype link\" \\
 
9971
        --define \"filedata stuff\" \\
 
9972
          /data/SPECS/replacetest.spec
 
9973
 
 
9974
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
9975
readlink \"\${tf}\"
 
9976
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
9977
readlink \"\${tf}\"
 
9978
"
 
9979
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:114"
 
9980
( $at_check_trace;
 
9981
 
 
9982
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
9983
 
 
9984
 
 
9985
runroot rpm --initdb
 
9986
 
 
9987
tf="${RPMTEST}"/opt/foo
 
9988
rm -rf "${RPMTEST}"/opt/*
 
9989
rm -rf "${TOPDIR}"
 
9990
 
 
9991
runroot rpmbuild --quiet -bb \
 
9992
        --define "ver 1.0" \
 
9993
        --define "filetype link" \
 
9994
        --define "filedata stiff" \
 
9995
          /data/SPECS/replacetest.spec
 
9996
 
 
9997
runroot rpmbuild --quiet -bb \
 
9998
        --define "ver 2.0" \
 
9999
        --define "filetype link" \
 
10000
        --define "filedata stuff" \
 
10001
          /data/SPECS/replacetest.spec
 
10002
 
 
10003
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10004
readlink "${tf}"
 
10005
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10006
readlink "${tf}"
 
10007
 
 
10008
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
10009
at_status=$? at_failed=false
 
10010
$at_check_filter
 
10011
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
10012
echo >>"$at_stdout"; $as_echo "stiff
 
10013
stuff
 
10014
" | \
 
10015
  $at_diff - "$at_stdout" || at_failed=:
 
10016
at_fn_check_status 0 $at_status "$at_srcdir/rpmreplace.at:114"
 
10017
$at_failed && at_fn_log_failure
 
10018
$at_traceon; }
 
10019
 
 
10020
  set +x
 
10021
  $at_times_p && times >"$at_times_file"
 
10022
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
10023
read at_status <"$at_status_file"
 
10024
#AT_STOP_172
 
10025
#AT_START_173
 
10026
at_fn_group_banner 173 'rpmreplace.at:145' \
 
10027
  "upgrade file link to file link" "                 " 11
 
10028
at_xfail=no
 
10029
(
 
10030
  $as_echo "173. $at_setup_line: testing $at_desc ..."
 
10031
  $at_traceon
 
10032
 
 
10033
 
 
10034
{ set +x
 
10035
$as_echo "$at_srcdir/rpmreplace.at:147:
 
10036
 
 
10037
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
10038
 
 
10039
 
 
10040
runroot rpm --initdb
 
10041
 
 
10042
tf=\"\${RPMTEST}\"/opt/foo
 
10043
rm -rf \"\${RPMTEST}\"/opt/*
 
10044
rm -rf \"\${TOPDIR}\"
 
10045
 
 
10046
runroot rpmbuild --quiet -bb \\
 
10047
        --define \"ver 1.0\" \\
 
10048
        --define \"filetype link\" \\
 
10049
        --define \"filedata goo\" \\
 
10050
          /data/SPECS/replacetest.spec
 
10051
 
 
10052
runroot rpmbuild --quiet -bb \\
 
10053
        --define \"ver 2.0\" \\
 
10054
        --define \"filetype link\" \\
 
10055
        --define \"filedata goo\" \\
 
10056
          /data/SPECS/replacetest.spec
 
10057
 
 
10058
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10059
readlink \"\${tf}\"
 
10060
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10061
readlink \"\${tf}\"
 
10062
"
 
10063
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:147"
 
10064
( $at_check_trace;
 
10065
 
 
10066
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
10067
 
 
10068
 
 
10069
runroot rpm --initdb
 
10070
 
 
10071
tf="${RPMTEST}"/opt/foo
 
10072
rm -rf "${RPMTEST}"/opt/*
 
10073
rm -rf "${TOPDIR}"
 
10074
 
 
10075
runroot rpmbuild --quiet -bb \
 
10076
        --define "ver 1.0" \
 
10077
        --define "filetype link" \
 
10078
        --define "filedata goo" \
 
10079
          /data/SPECS/replacetest.spec
 
10080
 
 
10081
runroot rpmbuild --quiet -bb \
 
10082
        --define "ver 2.0" \
 
10083
        --define "filetype link" \
 
10084
        --define "filedata goo" \
 
10085
          /data/SPECS/replacetest.spec
 
10086
 
 
10087
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10088
readlink "${tf}"
 
10089
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10090
readlink "${tf}"
 
10091
 
 
10092
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
10093
at_status=$? at_failed=false
 
10094
$at_check_filter
 
10095
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
10096
echo >>"$at_stdout"; $as_echo "goo
 
10097
goo
 
10098
" | \
 
10099
  $at_diff - "$at_stdout" || at_failed=:
 
10100
at_fn_check_status 0 $at_status "$at_srcdir/rpmreplace.at:147"
 
10101
$at_failed && at_fn_log_failure
 
10102
$at_traceon; }
 
10103
 
 
10104
  set +x
 
10105
  $at_times_p && times >"$at_times_file"
 
10106
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
10107
read at_status <"$at_status_file"
 
10108
#AT_STOP_173
 
10109
#AT_START_174
 
10110
at_fn_group_banner 174 'rpmreplace.at:178' \
 
10111
  "upgrade directory link to directory link" "       " 11
 
10112
at_xfail=no
 
10113
(
 
10114
  $as_echo "174. $at_setup_line: testing $at_desc ..."
 
10115
  $at_traceon
 
10116
 
 
10117
 
 
10118
{ set +x
 
10119
$as_echo "$at_srcdir/rpmreplace.at:180:
 
10120
 
 
10121
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
10122
 
 
10123
 
 
10124
runroot rpm --initdb
 
10125
 
 
10126
tf=\"\${RPMTEST}\"/opt/foo
 
10127
rm -rf \"\${RPMTEST}\"/opt/*
 
10128
rm -rf \"\${TOPDIR}\"
 
10129
 
 
10130
runroot rpmbuild --quiet -bb \\
 
10131
        --define \"ver 1.0\" \\
 
10132
        --define \"filetype link\" \\
 
10133
        --define \"filedata zoo\" \\
 
10134
          /data/SPECS/replacetest.spec
 
10135
 
 
10136
runroot rpmbuild --quiet -bb \\
 
10137
        --define \"ver 2.0\" \\
 
10138
        --define \"filetype link\" \\
 
10139
        --define \"filedata zoo\" \\
 
10140
          /data/SPECS/replacetest.spec
 
10141
 
 
10142
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10143
readlink \"\${tf}\"
 
10144
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10145
readlink \"\${tf}\"
 
10146
"
 
10147
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:180"
 
10148
( $at_check_trace;
 
10149
 
 
10150
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
10151
 
 
10152
 
 
10153
runroot rpm --initdb
 
10154
 
 
10155
tf="${RPMTEST}"/opt/foo
 
10156
rm -rf "${RPMTEST}"/opt/*
 
10157
rm -rf "${TOPDIR}"
 
10158
 
 
10159
runroot rpmbuild --quiet -bb \
 
10160
        --define "ver 1.0" \
 
10161
        --define "filetype link" \
 
10162
        --define "filedata zoo" \
 
10163
          /data/SPECS/replacetest.spec
 
10164
 
 
10165
runroot rpmbuild --quiet -bb \
 
10166
        --define "ver 2.0" \
 
10167
        --define "filetype link" \
 
10168
        --define "filedata zoo" \
 
10169
          /data/SPECS/replacetest.spec
 
10170
 
 
10171
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10172
readlink "${tf}"
 
10173
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10174
readlink "${tf}"
 
10175
 
 
10176
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
10177
at_status=$? at_failed=false
 
10178
$at_check_filter
 
10179
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
10180
echo >>"$at_stdout"; $as_echo "zoo
 
10181
zoo
 
10182
" | \
 
10183
  $at_diff - "$at_stdout" || at_failed=:
 
10184
at_fn_check_status 0 $at_status "$at_srcdir/rpmreplace.at:180"
 
10185
$at_failed && at_fn_log_failure
 
10186
$at_traceon; }
 
10187
 
 
10188
  set +x
 
10189
  $at_times_p && times >"$at_times_file"
 
10190
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
10191
read at_status <"$at_status_file"
 
10192
#AT_STOP_174
 
10193
#AT_START_175
 
10194
at_fn_group_banner 175 'rpmreplace.at:211' \
 
10195
  "upgrade regular file to directory" "              " 11
 
10196
at_xfail=no
 
10197
(
 
10198
  $as_echo "175. $at_setup_line: testing $at_desc ..."
 
10199
  $at_traceon
 
10200
 
 
10201
 
 
10202
{ set +x
 
10203
$as_echo "$at_srcdir/rpmreplace.at:213:
 
10204
 
 
10205
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
10206
 
 
10207
 
 
10208
runroot rpm --initdb
 
10209
 
 
10210
tf=\"\${RPMTEST}\"/opt/foo
 
10211
rm -rf \"\${RPMTEST}\"/opt/*
 
10212
rm -rf \"\${TOPDIR}\"
 
10213
 
 
10214
runroot rpmbuild --quiet -bb \\
 
10215
        --define \"ver 1.0\" \\
 
10216
        --define \"filetype file\" \\
 
10217
        --define \"filedata foo\" \\
 
10218
          /data/SPECS/replacetest.spec
 
10219
 
 
10220
runroot rpmbuild --quiet -bb \\
 
10221
        --define \"ver 2.0\" \\
 
10222
        --define \"filetype dir\" \\
 
10223
          /data/SPECS/replacetest.spec
 
10224
 
 
10225
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10226
cat \"\${tf}\"
 
10227
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10228
test -d \"\${tf}\"
 
10229
"
 
10230
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:213"
 
10231
( $at_check_trace;
 
10232
 
 
10233
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
10234
 
 
10235
 
 
10236
runroot rpm --initdb
 
10237
 
 
10238
tf="${RPMTEST}"/opt/foo
 
10239
rm -rf "${RPMTEST}"/opt/*
 
10240
rm -rf "${TOPDIR}"
 
10241
 
 
10242
runroot rpmbuild --quiet -bb \
 
10243
        --define "ver 1.0" \
 
10244
        --define "filetype file" \
 
10245
        --define "filedata foo" \
 
10246
          /data/SPECS/replacetest.spec
 
10247
 
 
10248
runroot rpmbuild --quiet -bb \
 
10249
        --define "ver 2.0" \
 
10250
        --define "filetype dir" \
 
10251
          /data/SPECS/replacetest.spec
 
10252
 
 
10253
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10254
cat "${tf}"
 
10255
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10256
test -d "${tf}"
 
10257
 
 
10258
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
10259
at_status=$? at_failed=false
 
10260
$at_check_filter
 
10261
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
10262
echo >>"$at_stdout"; $as_echo "foo
 
10263
" | \
 
10264
  $at_diff - "$at_stdout" || at_failed=:
 
10265
at_fn_check_status 0 $at_status "$at_srcdir/rpmreplace.at:213"
 
10266
$at_failed && at_fn_log_failure
 
10267
$at_traceon; }
 
10268
 
 
10269
  set +x
 
10270
  $at_times_p && times >"$at_times_file"
 
10271
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
10272
read at_status <"$at_status_file"
 
10273
#AT_STOP_175
 
10274
#AT_START_176
 
10275
at_fn_group_banner 176 'rpmreplace.at:242' \
 
10276
  "upgrade broken link to directory" "               " 11
 
10277
at_xfail=no
 
10278
(
 
10279
  $as_echo "176. $at_setup_line: testing $at_desc ..."
 
10280
  $at_traceon
 
10281
 
 
10282
 
 
10283
{ set +x
 
10284
$as_echo "$at_srcdir/rpmreplace.at:244:
 
10285
 
 
10286
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
10287
 
 
10288
 
 
10289
runroot rpm --initdb
 
10290
 
 
10291
tf=\"\${RPMTEST}\"/opt/foo
 
10292
rm -rf \"\${RPMTEST}\"/opt/*
 
10293
rm -rf \"\${TOPDIR}\"
 
10294
 
 
10295
runroot rpmbuild --quiet -bb \\
 
10296
        --define \"ver 1.0\" \\
 
10297
        --define \"filetype link\" \\
 
10298
        --define \"filedata other\" \\
 
10299
          /data/SPECS/replacetest.spec
 
10300
 
 
10301
runroot rpmbuild --quiet -bb \\
 
10302
        --define \"ver 2.0\" \\
 
10303
        --define \"filetype dir\" \\
 
10304
          /data/SPECS/replacetest.spec
 
10305
 
 
10306
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10307
readlink \"\${tf}\"
 
10308
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10309
test -d \"\${tf}\"
 
10310
"
 
10311
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:244"
 
10312
( $at_check_trace;
 
10313
 
 
10314
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
10315
 
 
10316
 
 
10317
runroot rpm --initdb
 
10318
 
 
10319
tf="${RPMTEST}"/opt/foo
 
10320
rm -rf "${RPMTEST}"/opt/*
 
10321
rm -rf "${TOPDIR}"
 
10322
 
 
10323
runroot rpmbuild --quiet -bb \
 
10324
        --define "ver 1.0" \
 
10325
        --define "filetype link" \
 
10326
        --define "filedata other" \
 
10327
          /data/SPECS/replacetest.spec
 
10328
 
 
10329
runroot rpmbuild --quiet -bb \
 
10330
        --define "ver 2.0" \
 
10331
        --define "filetype dir" \
 
10332
          /data/SPECS/replacetest.spec
 
10333
 
 
10334
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10335
readlink "${tf}"
 
10336
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10337
test -d "${tf}"
 
10338
 
 
10339
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
10340
at_status=$? at_failed=false
 
10341
$at_check_filter
 
10342
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
10343
echo >>"$at_stdout"; $as_echo "other
 
10344
" | \
 
10345
  $at_diff - "$at_stdout" || at_failed=:
 
10346
at_fn_check_status 0 $at_status "$at_srcdir/rpmreplace.at:244"
 
10347
$at_failed && at_fn_log_failure
 
10348
$at_traceon; }
 
10349
 
 
10350
  set +x
 
10351
  $at_times_p && times >"$at_times_file"
 
10352
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
10353
read at_status <"$at_status_file"
 
10354
#AT_STOP_176
 
10355
#AT_START_177
 
10356
at_fn_group_banner 177 'rpmreplace.at:273' \
 
10357
  "upgrade file link to directory" "                 " 11
 
10358
at_xfail=no
 
10359
(
 
10360
  $as_echo "177. $at_setup_line: testing $at_desc ..."
 
10361
  $at_traceon
 
10362
 
 
10363
 
 
10364
{ set +x
 
10365
$as_echo "$at_srcdir/rpmreplace.at:275:
 
10366
 
 
10367
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
10368
 
 
10369
 
 
10370
runroot rpm --initdb
 
10371
 
 
10372
tf=\"\${RPMTEST}\"/opt/foo
 
10373
rm -rf \"\${RPMTEST}\"/opt/*
 
10374
rm -rf \"\${TOPDIR}\"
 
10375
 
 
10376
runroot rpmbuild --quiet -bb \\
 
10377
        --define \"ver 1.0\" \\
 
10378
        --define \"filetype link\" \\
 
10379
        --define \"filedata goo\" \\
 
10380
          /data/SPECS/replacetest.spec
 
10381
 
 
10382
runroot rpmbuild --quiet -bb \\
 
10383
        --define \"ver 2.0\" \\
 
10384
        --define \"filetype dir\" \\
 
10385
          /data/SPECS/replacetest.spec
 
10386
 
 
10387
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10388
readlink \"\${tf}\"
 
10389
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10390
test -d \"\${tf}\"
 
10391
"
 
10392
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:275"
 
10393
( $at_check_trace;
 
10394
 
 
10395
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
10396
 
 
10397
 
 
10398
runroot rpm --initdb
 
10399
 
 
10400
tf="${RPMTEST}"/opt/foo
 
10401
rm -rf "${RPMTEST}"/opt/*
 
10402
rm -rf "${TOPDIR}"
 
10403
 
 
10404
runroot rpmbuild --quiet -bb \
 
10405
        --define "ver 1.0" \
 
10406
        --define "filetype link" \
 
10407
        --define "filedata goo" \
 
10408
          /data/SPECS/replacetest.spec
 
10409
 
 
10410
runroot rpmbuild --quiet -bb \
 
10411
        --define "ver 2.0" \
 
10412
        --define "filetype dir" \
 
10413
          /data/SPECS/replacetest.spec
 
10414
 
 
10415
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10416
readlink "${tf}"
 
10417
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10418
test -d "${tf}"
 
10419
 
 
10420
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
10421
at_status=$? at_failed=false
 
10422
$at_check_filter
 
10423
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
10424
echo >>"$at_stdout"; $as_echo "goo
 
10425
" | \
 
10426
  $at_diff - "$at_stdout" || at_failed=:
 
10427
at_fn_check_status 0 $at_status "$at_srcdir/rpmreplace.at:275"
 
10428
$at_failed && at_fn_log_failure
 
10429
$at_traceon; }
 
10430
 
 
10431
  set +x
 
10432
  $at_times_p && times >"$at_times_file"
 
10433
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
10434
read at_status <"$at_status_file"
 
10435
#AT_STOP_177
 
10436
#AT_START_178
 
10437
at_fn_group_banner 178 'rpmreplace.at:304' \
 
10438
  "upgrade directory link to directory" "            " 11
 
10439
at_xfail=no
 
10440
(
 
10441
  $as_echo "178. $at_setup_line: testing $at_desc ..."
 
10442
  $at_traceon
 
10443
 
 
10444
 
 
10445
{ set +x
 
10446
$as_echo "$at_srcdir/rpmreplace.at:306:
 
10447
 
 
10448
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
10449
 
 
10450
 
 
10451
runroot rpm --initdb
 
10452
 
 
10453
tf=\"\${RPMTEST}\"/opt/foo
 
10454
rm -rf \"\${RPMTEST}\"/opt/*
 
10455
rm -rf \"\${TOPDIR}\"
 
10456
 
 
10457
runroot rpmbuild --quiet -bb \\
 
10458
        --define \"ver 1.0\" \\
 
10459
        --define \"filetype link\" \\
 
10460
        --define \"filedata zoo\" \\
 
10461
          /data/SPECS/replacetest.spec
 
10462
 
 
10463
runroot rpmbuild --quiet -bb \\
 
10464
        --define \"ver 2.0\" \\
 
10465
        --define \"filetype dir\" \\
 
10466
          /data/SPECS/replacetest.spec
 
10467
 
 
10468
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10469
readlink \"\${tf}\"
 
10470
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10471
"
 
10472
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:306"
 
10473
( $at_check_trace;
 
10474
 
 
10475
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
10476
 
 
10477
 
 
10478
runroot rpm --initdb
 
10479
 
 
10480
tf="${RPMTEST}"/opt/foo
 
10481
rm -rf "${RPMTEST}"/opt/*
 
10482
rm -rf "${TOPDIR}"
 
10483
 
 
10484
runroot rpmbuild --quiet -bb \
 
10485
        --define "ver 1.0" \
 
10486
        --define "filetype link" \
 
10487
        --define "filedata zoo" \
 
10488
          /data/SPECS/replacetest.spec
 
10489
 
 
10490
runroot rpmbuild --quiet -bb \
 
10491
        --define "ver 2.0" \
 
10492
        --define "filetype dir" \
 
10493
          /data/SPECS/replacetest.spec
 
10494
 
 
10495
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10496
readlink "${tf}"
 
10497
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10498
 
 
10499
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
10500
at_status=$? at_failed=false
 
10501
$at_check_filter
 
10502
echo >>"$at_stderr"; $as_echo " file /opt/foo from install of replacetest-2.0-1.noarch conflicts with file from package replacetest-1.0-1.noarch
 
10503
" | \
 
10504
  $at_diff - "$at_stderr" || at_failed=:
 
10505
echo >>"$at_stdout"; $as_echo "zoo
 
10506
" | \
 
10507
  $at_diff - "$at_stdout" || at_failed=:
 
10508
at_fn_check_status 2 $at_status "$at_srcdir/rpmreplace.at:306"
 
10509
$at_failed && at_fn_log_failure
 
10510
$at_traceon; }
 
10511
 
 
10512
  set +x
 
10513
  $at_times_p && times >"$at_times_file"
 
10514
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
10515
read at_status <"$at_status_file"
 
10516
#AT_STOP_178
 
10517
#AT_START_179
 
10518
at_fn_group_banner 179 'rpmreplace.at:335' \
 
10519
  "upgrade empty directory to empty directory" "     " 11
 
10520
at_xfail=no
 
10521
(
 
10522
  $as_echo "179. $at_setup_line: testing $at_desc ..."
 
10523
  $at_traceon
 
10524
 
 
10525
 
 
10526
{ set +x
 
10527
$as_echo "$at_srcdir/rpmreplace.at:337:
 
10528
 
 
10529
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
10530
 
 
10531
 
 
10532
runroot rpm --initdb
 
10533
 
 
10534
tf=\"\${RPMTEST}\"/opt/foo
 
10535
rm -rf \"\${RPMTEST}\"/opt/*
 
10536
rm -rf \"\${TOPDIR}\"
 
10537
 
 
10538
runroot rpmbuild --quiet -bb \\
 
10539
        --define \"ver 1.0\" \\
 
10540
        --define \"filetype dir\" \\
 
10541
          /data/SPECS/replacetest.spec
 
10542
 
 
10543
runroot rpmbuild --quiet -bb \\
 
10544
        --define \"ver 2.0\" \\
 
10545
        --define \"filetype dir\" \\
 
10546
          /data/SPECS/replacetest.spec
 
10547
 
 
10548
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10549
test -d \"\${tf}\" && runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10550
test -d \"\${tf}\"
 
10551
"
 
10552
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:337"
 
10553
( $at_check_trace;
 
10554
 
 
10555
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
10556
 
 
10557
 
 
10558
runroot rpm --initdb
 
10559
 
 
10560
tf="${RPMTEST}"/opt/foo
 
10561
rm -rf "${RPMTEST}"/opt/*
 
10562
rm -rf "${TOPDIR}"
 
10563
 
 
10564
runroot rpmbuild --quiet -bb \
 
10565
        --define "ver 1.0" \
 
10566
        --define "filetype dir" \
 
10567
          /data/SPECS/replacetest.spec
 
10568
 
 
10569
runroot rpmbuild --quiet -bb \
 
10570
        --define "ver 2.0" \
 
10571
        --define "filetype dir" \
 
10572
          /data/SPECS/replacetest.spec
 
10573
 
 
10574
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10575
test -d "${tf}" && runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10576
test -d "${tf}"
 
10577
 
 
10578
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
10579
at_status=$? at_failed=false
 
10580
$at_check_filter
 
10581
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
10582
at_fn_diff_devnull "$at_stdout" || at_failed=:
 
10583
at_fn_check_status 0 $at_status "$at_srcdir/rpmreplace.at:337"
 
10584
$at_failed && at_fn_log_failure
 
10585
$at_traceon; }
 
10586
 
 
10587
  set +x
 
10588
  $at_times_p && times >"$at_times_file"
 
10589
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
10590
read at_status <"$at_status_file"
 
10591
#AT_STOP_179
 
10592
#AT_START_180
 
10593
at_fn_group_banner 180 'rpmreplace.at:363' \
 
10594
  "upgrade empty directory to regular file" "        " 11
 
10595
at_xfail=no
 
10596
(
 
10597
  $as_echo "180. $at_setup_line: testing $at_desc ..."
 
10598
  $at_traceon
 
10599
 
 
10600
 
 
10601
{ set +x
 
10602
$as_echo "$at_srcdir/rpmreplace.at:365:
 
10603
 
 
10604
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
10605
 
 
10606
 
 
10607
runroot rpm --initdb
 
10608
 
 
10609
tf=\"\${RPMTEST}\"/opt/foo
 
10610
rm -rf \"\${RPMTEST}\"/opt/*
 
10611
rm -rf \"\${TOPDIR}\"
 
10612
 
 
10613
runroot rpmbuild --quiet -bb \\
 
10614
        --define \"ver 1.0\" \\
 
10615
        --define \"filetype dir\" \\
 
10616
          /data/SPECS/replacetest.spec
 
10617
 
 
10618
runroot rpmbuild --quiet -bb \\
 
10619
        --define \"ver 2.0\" \\
 
10620
        --define \"filetype file\" \\
 
10621
        --define \"filedata woot\" \\
 
10622
          /data/SPECS/replacetest.spec
 
10623
 
 
10624
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10625
test -d \"\${tf}\" && runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10626
"
 
10627
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:365"
 
10628
( $at_check_trace;
 
10629
 
 
10630
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
10631
 
 
10632
 
 
10633
runroot rpm --initdb
 
10634
 
 
10635
tf="${RPMTEST}"/opt/foo
 
10636
rm -rf "${RPMTEST}"/opt/*
 
10637
rm -rf "${TOPDIR}"
 
10638
 
 
10639
runroot rpmbuild --quiet -bb \
 
10640
        --define "ver 1.0" \
 
10641
        --define "filetype dir" \
 
10642
          /data/SPECS/replacetest.spec
 
10643
 
 
10644
runroot rpmbuild --quiet -bb \
 
10645
        --define "ver 2.0" \
 
10646
        --define "filetype file" \
 
10647
        --define "filedata woot" \
 
10648
          /data/SPECS/replacetest.spec
 
10649
 
 
10650
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10651
test -d "${tf}" && runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10652
 
 
10653
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
10654
at_status=$? at_failed=false
 
10655
$at_check_filter
 
10656
echo >>"$at_stderr"; $as_echo " file /opt/foo from install of replacetest-2.0-1.noarch conflicts with file from package replacetest-1.0-1.noarch
 
10657
" | \
 
10658
  $at_diff - "$at_stderr" || at_failed=:
 
10659
at_fn_diff_devnull "$at_stdout" || at_failed=:
 
10660
at_fn_check_status 2 $at_status "$at_srcdir/rpmreplace.at:365"
 
10661
$at_failed && at_fn_log_failure
 
10662
$at_traceon; }
 
10663
 
 
10664
  set +x
 
10665
  $at_times_p && times >"$at_times_file"
 
10666
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
10667
read at_status <"$at_status_file"
 
10668
#AT_STOP_180
 
10669
#AT_START_181
 
10670
at_fn_group_banner 181 'rpmreplace.at:392' \
 
10671
  "upgrade locally symlinked directory" "            " 11
 
10672
at_xfail=no
 
10673
(
 
10674
  $as_echo "181. $at_setup_line: testing $at_desc ..."
 
10675
  $at_traceon
 
10676
 
 
10677
 
 
10678
{ set +x
 
10679
$as_echo "$at_srcdir/rpmreplace.at:394:
 
10680
 
 
10681
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
10682
 
 
10683
 
 
10684
runroot rpm --initdb
 
10685
 
 
10686
tf=\"\${RPMTEST}\"/opt/foo
 
10687
rm -rf \"\${RPMTEST}\"/opt/*
 
10688
rm -rf \"\${TOPDIR}\"
 
10689
 
 
10690
runroot rpmbuild --quiet -bb \\
 
10691
        --define \"ver 1.0\" \\
 
10692
        --define \"filetype datadir\" \\
 
10693
        --define \"filedata README1\" \\
 
10694
          /data/SPECS/replacetest.spec
 
10695
 
 
10696
runroot rpmbuild --quiet -bb \\
 
10697
        --define \"ver 2.0\" \\
 
10698
        --define \"filetype datadir\" \\
 
10699
        --define \"filedata README2\" \\
 
10700
          /data/SPECS/replacetest.spec
 
10701
 
 
10702
mkdir \"\${RPMTEST}\"/opt/f00f
 
10703
ln -s f00f \"\${RPMTEST}\"/opt/foo
 
10704
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10705
test -L \"\${tf}\" && test -d \"\${tf}\" && runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10706
test -L \"\${tf}\" && test -d \"\${tf}\"
 
10707
"
 
10708
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:394"
 
10709
( $at_check_trace;
 
10710
 
 
10711
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
10712
 
 
10713
 
 
10714
runroot rpm --initdb
 
10715
 
 
10716
tf="${RPMTEST}"/opt/foo
 
10717
rm -rf "${RPMTEST}"/opt/*
 
10718
rm -rf "${TOPDIR}"
 
10719
 
 
10720
runroot rpmbuild --quiet -bb \
 
10721
        --define "ver 1.0" \
 
10722
        --define "filetype datadir" \
 
10723
        --define "filedata README1" \
 
10724
          /data/SPECS/replacetest.spec
 
10725
 
 
10726
runroot rpmbuild --quiet -bb \
 
10727
        --define "ver 2.0" \
 
10728
        --define "filetype datadir" \
 
10729
        --define "filedata README2" \
 
10730
          /data/SPECS/replacetest.spec
 
10731
 
 
10732
mkdir "${RPMTEST}"/opt/f00f
 
10733
ln -s f00f "${RPMTEST}"/opt/foo
 
10734
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10735
test -L "${tf}" && test -d "${tf}" && runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10736
test -L "${tf}" && test -d "${tf}"
 
10737
 
 
10738
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
10739
at_status=$? at_failed=false
 
10740
$at_check_filter
 
10741
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
10742
at_fn_diff_devnull "$at_stdout" || at_failed=:
 
10743
at_fn_check_status 0 $at_status "$at_srcdir/rpmreplace.at:394"
 
10744
$at_failed && at_fn_log_failure
 
10745
$at_traceon; }
 
10746
 
 
10747
  set +x
 
10748
  $at_times_p && times >"$at_times_file"
 
10749
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
10750
read at_status <"$at_status_file"
 
10751
#AT_STOP_181
 
10752
#AT_START_182
 
10753
at_fn_group_banner 182 'rpmreplace.at:424' \
 
10754
  "upgrade empty directory to broken link" "         " 11
 
10755
at_xfail=no
 
10756
(
 
10757
  $as_echo "182. $at_setup_line: testing $at_desc ..."
 
10758
  $at_traceon
 
10759
 
 
10760
 
 
10761
{ set +x
 
10762
$as_echo "$at_srcdir/rpmreplace.at:426:
 
10763
 
 
10764
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
10765
 
 
10766
 
 
10767
runroot rpm --initdb
 
10768
 
 
10769
tf=\"\${RPMTEST}\"/opt/foo
 
10770
rm -rf \"\${RPMTEST}\"/opt/*
 
10771
rm -rf \"\${TOPDIR}\"
 
10772
 
 
10773
runroot rpmbuild --quiet -bb \\
 
10774
        --define \"ver 1.0\" \\
 
10775
        --define \"filetype dir\" \\
 
10776
          /data/SPECS/replacetest.spec
 
10777
 
 
10778
runroot rpmbuild --quiet -bb \\
 
10779
        --define \"ver 2.0\" \\
 
10780
        --define \"filetype link\" \\
 
10781
        --define \"filedata woot\" \\
 
10782
          /data/SPECS/replacetest.spec
 
10783
 
 
10784
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10785
test -d \"\${tf}\" && runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10786
"
 
10787
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:426"
 
10788
( $at_check_trace;
 
10789
 
 
10790
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
10791
 
 
10792
 
 
10793
runroot rpm --initdb
 
10794
 
 
10795
tf="${RPMTEST}"/opt/foo
 
10796
rm -rf "${RPMTEST}"/opt/*
 
10797
rm -rf "${TOPDIR}"
 
10798
 
 
10799
runroot rpmbuild --quiet -bb \
 
10800
        --define "ver 1.0" \
 
10801
        --define "filetype dir" \
 
10802
          /data/SPECS/replacetest.spec
 
10803
 
 
10804
runroot rpmbuild --quiet -bb \
 
10805
        --define "ver 2.0" \
 
10806
        --define "filetype link" \
 
10807
        --define "filedata woot" \
 
10808
          /data/SPECS/replacetest.spec
 
10809
 
 
10810
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10811
test -d "${tf}" && runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10812
 
 
10813
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
10814
at_status=$? at_failed=false
 
10815
$at_check_filter
 
10816
echo >>"$at_stderr"; $as_echo " file /opt/foo from install of replacetest-2.0-1.noarch conflicts with file from package replacetest-1.0-1.noarch
 
10817
" | \
 
10818
  $at_diff - "$at_stderr" || at_failed=:
 
10819
at_fn_diff_devnull "$at_stdout" || at_failed=:
 
10820
at_fn_check_status 2 $at_status "$at_srcdir/rpmreplace.at:426"
 
10821
$at_failed && at_fn_log_failure
 
10822
$at_traceon; }
 
10823
 
 
10824
  set +x
 
10825
  $at_times_p && times >"$at_times_file"
 
10826
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
10827
read at_status <"$at_status_file"
 
10828
#AT_STOP_182
 
10829
#AT_START_183
 
10830
at_fn_group_banner 183 'rpmreplace.at:453' \
 
10831
  "upgrade empty directory to file link" "           " 11
 
10832
at_xfail=no
 
10833
(
 
10834
  $as_echo "183. $at_setup_line: testing $at_desc ..."
 
10835
  $at_traceon
 
10836
 
 
10837
 
 
10838
{ set +x
 
10839
$as_echo "$at_srcdir/rpmreplace.at:455:
 
10840
 
 
10841
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
10842
 
 
10843
 
 
10844
runroot rpm --initdb
 
10845
 
 
10846
tf=\"\${RPMTEST}\"/opt/foo
 
10847
rm -rf \"\${RPMTEST}\"/opt/*
 
10848
rm -rf \"\${TOPDIR}\"
 
10849
 
 
10850
runroot rpmbuild --quiet -bb \\
 
10851
        --define \"ver 1.0\" \\
 
10852
        --define \"filetype dir\" \\
 
10853
          /data/SPECS/replacetest.spec
 
10854
 
 
10855
runroot rpmbuild --quiet -bb \\
 
10856
        --define \"ver 2.0\" \\
 
10857
        --define \"filetype link\" \\
 
10858
        --define \"filedata woot\" \\
 
10859
          /data/SPECS/replacetest.spec
 
10860
 
 
10861
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10862
test -d \"\${tf}\" && runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10863
"
 
10864
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:455"
 
10865
( $at_check_trace;
 
10866
 
 
10867
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
10868
 
 
10869
 
 
10870
runroot rpm --initdb
 
10871
 
 
10872
tf="${RPMTEST}"/opt/foo
 
10873
rm -rf "${RPMTEST}"/opt/*
 
10874
rm -rf "${TOPDIR}"
 
10875
 
 
10876
runroot rpmbuild --quiet -bb \
 
10877
        --define "ver 1.0" \
 
10878
        --define "filetype dir" \
 
10879
          /data/SPECS/replacetest.spec
 
10880
 
 
10881
runroot rpmbuild --quiet -bb \
 
10882
        --define "ver 2.0" \
 
10883
        --define "filetype link" \
 
10884
        --define "filedata woot" \
 
10885
          /data/SPECS/replacetest.spec
 
10886
 
 
10887
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10888
test -d "${tf}" && runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10889
 
 
10890
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
10891
at_status=$? at_failed=false
 
10892
$at_check_filter
 
10893
echo >>"$at_stderr"; $as_echo " file /opt/foo from install of replacetest-2.0-1.noarch conflicts with file from package replacetest-1.0-1.noarch
 
10894
" | \
 
10895
  $at_diff - "$at_stderr" || at_failed=:
 
10896
at_fn_diff_devnull "$at_stdout" || at_failed=:
 
10897
at_fn_check_status 2 $at_status "$at_srcdir/rpmreplace.at:455"
 
10898
$at_failed && at_fn_log_failure
 
10899
$at_traceon; }
 
10900
 
 
10901
  set +x
 
10902
  $at_times_p && times >"$at_times_file"
 
10903
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
10904
read at_status <"$at_status_file"
 
10905
#AT_STOP_183
 
10906
#AT_START_184
 
10907
at_fn_group_banner 184 'rpmreplace.at:482' \
 
10908
  "upgrade removed empty directory to file link" "   " 11
 
10909
at_xfail=no
 
10910
(
 
10911
  $as_echo "184. $at_setup_line: testing $at_desc ..."
 
10912
  $at_traceon
 
10913
 
 
10914
 
 
10915
{ set +x
 
10916
$as_echo "$at_srcdir/rpmreplace.at:484:
 
10917
 
 
10918
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
10919
 
 
10920
 
 
10921
runroot rpm --initdb
 
10922
 
 
10923
tf=\"\${RPMTEST}\"/opt/foo
 
10924
rm -rf \"\${RPMTEST}\"/opt/*
 
10925
rm -rf \"\${TOPDIR}\"
 
10926
 
 
10927
runroot rpmbuild --quiet -bb \\
 
10928
        --define \"ver 1.0\" \\
 
10929
        --define \"filetype dir\" \\
 
10930
          /data/SPECS/replacetest.spec
 
10931
 
 
10932
runroot rpmbuild --quiet -bb \\
 
10933
        --define \"ver 2.0\" \\
 
10934
        --define \"filetype link\" \\
 
10935
        --define \"filedata goo\" \\
 
10936
          /data/SPECS/replacetest.spec
 
10937
 
 
10938
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10939
test -d \"\${tf}\" && rmdir \"\${tf}\" && runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10940
readlink \"\${tf}\"
 
10941
"
 
10942
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:484"
 
10943
( $at_check_trace;
 
10944
 
 
10945
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
10946
 
 
10947
 
 
10948
runroot rpm --initdb
 
10949
 
 
10950
tf="${RPMTEST}"/opt/foo
 
10951
rm -rf "${RPMTEST}"/opt/*
 
10952
rm -rf "${TOPDIR}"
 
10953
 
 
10954
runroot rpmbuild --quiet -bb \
 
10955
        --define "ver 1.0" \
 
10956
        --define "filetype dir" \
 
10957
          /data/SPECS/replacetest.spec
 
10958
 
 
10959
runroot rpmbuild --quiet -bb \
 
10960
        --define "ver 2.0" \
 
10961
        --define "filetype link" \
 
10962
        --define "filedata goo" \
 
10963
          /data/SPECS/replacetest.spec
 
10964
 
 
10965
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
10966
test -d "${tf}" && rmdir "${tf}" && runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
10967
readlink "${tf}"
 
10968
 
 
10969
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
10970
at_status=$? at_failed=false
 
10971
$at_check_filter
 
10972
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
10973
echo >>"$at_stdout"; $as_echo "goo
 
10974
" | \
 
10975
  $at_diff - "$at_stdout" || at_failed=:
 
10976
at_fn_check_status 0 $at_status "$at_srcdir/rpmreplace.at:484"
 
10977
$at_failed && at_fn_log_failure
 
10978
$at_traceon; }
 
10979
 
 
10980
  set +x
 
10981
  $at_times_p && times >"$at_times_file"
 
10982
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
10983
read at_status <"$at_status_file"
 
10984
#AT_STOP_184
 
10985
#AT_START_185
 
10986
at_fn_group_banner 185 'rpmreplace.at:512' \
 
10987
  "upgrade replaced empty directory to file link" "  " 11
 
10988
at_xfail=no
 
10989
(
 
10990
  $as_echo "185. $at_setup_line: testing $at_desc ..."
 
10991
  $at_traceon
 
10992
 
 
10993
 
 
10994
{ set +x
 
10995
$as_echo "$at_srcdir/rpmreplace.at:514:
 
10996
 
 
10997
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
10998
 
 
10999
 
 
11000
runroot rpm --initdb
 
11001
 
 
11002
tf=\"\${RPMTEST}\"/opt/foo
 
11003
rm -rf \"\${RPMTEST}\"/opt/*
 
11004
rm -rf \"\${TOPDIR}\"
 
11005
 
 
11006
runroot rpmbuild --quiet -bb \\
 
11007
        --define \"ver 1.0\" \\
 
11008
        --define \"filetype dir\" \\
 
11009
          /data/SPECS/replacetest.spec
 
11010
 
 
11011
runroot rpmbuild --quiet -bb \\
 
11012
        --define \"ver 2.0\" \\
 
11013
        --define \"filetype link\" \\
 
11014
        --define \"filedata goo\" \\
 
11015
          /data/SPECS/replacetest.spec
 
11016
 
 
11017
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
11018
test -d \"\${tf}\" && rmdir \"\${tf}\" && ln -sf goo \"\${tf}\" && runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
11019
readlink \"\${tf}\"
 
11020
"
 
11021
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:514"
 
11022
( $at_check_trace;
 
11023
 
 
11024
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
11025
 
 
11026
 
 
11027
runroot rpm --initdb
 
11028
 
 
11029
tf="${RPMTEST}"/opt/foo
 
11030
rm -rf "${RPMTEST}"/opt/*
 
11031
rm -rf "${TOPDIR}"
 
11032
 
 
11033
runroot rpmbuild --quiet -bb \
 
11034
        --define "ver 1.0" \
 
11035
        --define "filetype dir" \
 
11036
          /data/SPECS/replacetest.spec
 
11037
 
 
11038
runroot rpmbuild --quiet -bb \
 
11039
        --define "ver 2.0" \
 
11040
        --define "filetype link" \
 
11041
        --define "filedata goo" \
 
11042
          /data/SPECS/replacetest.spec
 
11043
 
 
11044
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
11045
test -d "${tf}" && rmdir "${tf}" && ln -sf goo "${tf}" && runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
11046
readlink "${tf}"
 
11047
 
 
11048
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
11049
at_status=$? at_failed=false
 
11050
$at_check_filter
 
11051
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
11052
echo >>"$at_stdout"; $as_echo "goo
 
11053
" | \
 
11054
  $at_diff - "$at_stdout" || at_failed=:
 
11055
at_fn_check_status 0 $at_status "$at_srcdir/rpmreplace.at:514"
 
11056
$at_failed && at_fn_log_failure
 
11057
$at_traceon; }
 
11058
 
 
11059
  set +x
 
11060
  $at_times_p && times >"$at_times_file"
 
11061
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
11062
read at_status <"$at_status_file"
 
11063
#AT_STOP_185
 
11064
#AT_START_186
 
11065
at_fn_group_banner 186 'rpmreplace.at:542' \
 
11066
  "upgrade empty directory to file link with pretrans" "" 11
 
11067
at_xfail=no
 
11068
(
 
11069
  $as_echo "186. $at_setup_line: testing $at_desc ..."
 
11070
  $at_traceon
 
11071
 
 
11072
 
 
11073
{ set +x
 
11074
$as_echo "$at_srcdir/rpmreplace.at:544:
 
11075
 
 
11076
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
11077
 
 
11078
 
 
11079
runroot rpm --initdb
 
11080
 
 
11081
tf=\"\${RPMTEST}\"/opt/foo
 
11082
rm -rf \"\${RPMTEST}\"/opt/*
 
11083
rm -rf \"\${TOPDIR}\"
 
11084
 
 
11085
runroot rpmbuild --quiet -bb \\
 
11086
        --define \"ver 1.0\" \\
 
11087
        --define \"filetype dir\" \\
 
11088
          /data/SPECS/replacetest.spec
 
11089
 
 
11090
runroot rpmbuild --quiet -bb \\
 
11091
        --define \"ver 2.0\" \\
 
11092
        --define \"filetype link\" \\
 
11093
        --define \"filedata goo\" \\
 
11094
        --define \"fixit posix.rmdir('/opt/foo')\" \\
 
11095
          /data/SPECS/replacetest.spec
 
11096
 
 
11097
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
11098
test -d \"\${tf}\" && runroot rpm -U --test \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm && runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
11099
readlink \"\${tf}\"
 
11100
"
 
11101
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:544"
 
11102
( $at_check_trace;
 
11103
 
 
11104
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
11105
 
 
11106
 
 
11107
runroot rpm --initdb
 
11108
 
 
11109
tf="${RPMTEST}"/opt/foo
 
11110
rm -rf "${RPMTEST}"/opt/*
 
11111
rm -rf "${TOPDIR}"
 
11112
 
 
11113
runroot rpmbuild --quiet -bb \
 
11114
        --define "ver 1.0" \
 
11115
        --define "filetype dir" \
 
11116
          /data/SPECS/replacetest.spec
 
11117
 
 
11118
runroot rpmbuild --quiet -bb \
 
11119
        --define "ver 2.0" \
 
11120
        --define "filetype link" \
 
11121
        --define "filedata goo" \
 
11122
        --define "fixit posix.rmdir('/opt/foo')" \
 
11123
          /data/SPECS/replacetest.spec
 
11124
 
 
11125
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
 
11126
test -d "${tf}" && runroot rpm -U --test "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm && runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
 
11127
readlink "${tf}"
 
11128
 
 
11129
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
11130
at_status=$? at_failed=false
 
11131
$at_check_filter
 
11132
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
11133
echo >>"$at_stdout"; $as_echo "goo
 
11134
" | \
 
11135
  $at_diff - "$at_stdout" || at_failed=:
 
11136
at_fn_check_status 0 $at_status "$at_srcdir/rpmreplace.at:544"
 
11137
$at_failed && at_fn_log_failure
 
11138
$at_traceon; }
 
11139
 
 
11140
  set +x
 
11141
  $at_times_p && times >"$at_times_file"
 
11142
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
11143
read at_status <"$at_status_file"
 
11144
#AT_STOP_186
 
11145
#AT_START_187
 
11146
at_fn_group_banner 187 'rpmconfig.at:6' \
 
11147
  "install config on existiting file" "              " 12
 
11148
at_xfail=no
 
11149
(
 
11150
  $as_echo "187. $at_setup_line: testing $at_desc ..."
 
11151
  $at_traceon
 
11152
 
 
11153
 
 
11154
{ set +x
 
11155
$as_echo "$at_srcdir/rpmconfig.at:8:
 
11156
 
 
11157
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
11158
 
 
11159
 
 
11160
runroot rpm --initdb
 
11161
 
 
11162
cf=\"\${RPMTEST}\"/etc/my.conf
 
11163
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
11164
rm -rf \"\${TOPDIR}\"
 
11165
 
 
11166
runroot rpmbuild --quiet -bb \\
 
11167
        --define \"ver 1.0\" \\
 
11168
        --define \"filedata foo\" \\
 
11169
          /data/SPECS/configtest.spec
 
11170
 
 
11171
echo \"otherstuff\" > \"\${cf}\"
 
11172
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11173
cat \"\${cf}\"
 
11174
runroot rpm -e configtest
 
11175
cat \"\${cf}.rpmorig\"
 
11176
"
 
11177
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:8"
 
11178
( $at_check_trace;
 
11179
 
 
11180
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
11181
 
 
11182
 
 
11183
runroot rpm --initdb
 
11184
 
 
11185
cf="${RPMTEST}"/etc/my.conf
 
11186
rm -rf "${cf}" "${cf}".rpm*
 
11187
rm -rf "${TOPDIR}"
 
11188
 
 
11189
runroot rpmbuild --quiet -bb \
 
11190
        --define "ver 1.0" \
 
11191
        --define "filedata foo" \
 
11192
          /data/SPECS/configtest.spec
 
11193
 
 
11194
echo "otherstuff" > "${cf}"
 
11195
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11196
cat "${cf}"
 
11197
runroot rpm -e configtest
 
11198
cat "${cf}.rpmorig"
 
11199
 
 
11200
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
11201
at_status=$? at_failed=false
 
11202
$at_check_filter
 
11203
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmorig
 
11204
" | \
 
11205
  $at_diff - "$at_stderr" || at_failed=:
 
11206
echo >>"$at_stdout"; $as_echo "foo
 
11207
otherstuff
 
11208
" | \
 
11209
  $at_diff - "$at_stdout" || at_failed=:
 
11210
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:8"
 
11211
$at_failed && at_fn_log_failure
 
11212
$at_traceon; }
 
11213
 
 
11214
  set +x
 
11215
  $at_times_p && times >"$at_times_file"
 
11216
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
11217
read at_status <"$at_status_file"
 
11218
#AT_STOP_187
 
11219
#AT_START_188
 
11220
at_fn_group_banner 188 'rpmconfig.at:35' \
 
11221
  "install config(noreplace) on existiting file" "   " 12
 
11222
at_xfail=no
 
11223
(
 
11224
  $as_echo "188. $at_setup_line: testing $at_desc ..."
 
11225
  $at_traceon
 
11226
 
 
11227
 
 
11228
{ set +x
 
11229
$as_echo "$at_srcdir/rpmconfig.at:37:
 
11230
 
 
11231
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
11232
 
 
11233
 
 
11234
runroot rpm --initdb
 
11235
 
 
11236
cf=\"\${RPMTEST}\"/etc/my.conf
 
11237
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
11238
rm -rf \"\${TOPDIR}\"
 
11239
 
 
11240
runroot rpmbuild --quiet -bb \\
 
11241
        --define \"ver 1.0\" \\
 
11242
        --define \"filedata foo\" \\
 
11243
          /data/SPECS/configtest.spec
 
11244
 
 
11245
echo \"otherstuff\" > \"\${cf}\"
 
11246
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11247
cat \"\${cf}\"
 
11248
runroot rpm -e configtest
 
11249
cat \"\${cf}.rpmorig\"
 
11250
"
 
11251
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:37"
 
11252
( $at_check_trace;
 
11253
 
 
11254
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
11255
 
 
11256
 
 
11257
runroot rpm --initdb
 
11258
 
 
11259
cf="${RPMTEST}"/etc/my.conf
 
11260
rm -rf "${cf}" "${cf}".rpm*
 
11261
rm -rf "${TOPDIR}"
 
11262
 
 
11263
runroot rpmbuild --quiet -bb \
 
11264
        --define "ver 1.0" \
 
11265
        --define "filedata foo" \
 
11266
          /data/SPECS/configtest.spec
 
11267
 
 
11268
echo "otherstuff" > "${cf}"
 
11269
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11270
cat "${cf}"
 
11271
runroot rpm -e configtest
 
11272
cat "${cf}.rpmorig"
 
11273
 
 
11274
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
11275
at_status=$? at_failed=false
 
11276
$at_check_filter
 
11277
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmorig
 
11278
" | \
 
11279
  $at_diff - "$at_stderr" || at_failed=:
 
11280
echo >>"$at_stdout"; $as_echo "foo
 
11281
otherstuff
 
11282
" | \
 
11283
  $at_diff - "$at_stdout" || at_failed=:
 
11284
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:37"
 
11285
$at_failed && at_fn_log_failure
 
11286
$at_traceon; }
 
11287
 
 
11288
  set +x
 
11289
  $at_times_p && times >"$at_times_file"
 
11290
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
11291
read at_status <"$at_status_file"
 
11292
#AT_STOP_188
 
11293
#AT_START_189
 
11294
at_fn_group_banner 189 'rpmconfig.at:64' \
 
11295
  "install config on existiting identical file" "    " 12
 
11296
at_xfail=no
 
11297
(
 
11298
  $as_echo "189. $at_setup_line: testing $at_desc ..."
 
11299
  $at_traceon
 
11300
 
 
11301
 
 
11302
{ set +x
 
11303
$as_echo "$at_srcdir/rpmconfig.at:66:
 
11304
 
 
11305
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
11306
 
 
11307
 
 
11308
runroot rpm --initdb
 
11309
 
 
11310
cf=\"\${RPMTEST}\"/etc/my.conf
 
11311
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
11312
rm -rf \"\${TOPDIR}\"
 
11313
 
 
11314
runroot rpmbuild --quiet -bb \\
 
11315
        --define \"ver 1.0\" \\
 
11316
        --define \"filedata foo\" \\
 
11317
          /data/SPECS/configtest.spec
 
11318
 
 
11319
echo \"foo\" > \"\${cf}\"
 
11320
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11321
cat \"\${cf}\"
 
11322
runroot rpm -e configtest
 
11323
test ! -f \"\${cf}\"
 
11324
"
 
11325
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:66"
 
11326
( $at_check_trace;
 
11327
 
 
11328
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
11329
 
 
11330
 
 
11331
runroot rpm --initdb
 
11332
 
 
11333
cf="${RPMTEST}"/etc/my.conf
 
11334
rm -rf "${cf}" "${cf}".rpm*
 
11335
rm -rf "${TOPDIR}"
 
11336
 
 
11337
runroot rpmbuild --quiet -bb \
 
11338
        --define "ver 1.0" \
 
11339
        --define "filedata foo" \
 
11340
          /data/SPECS/configtest.spec
 
11341
 
 
11342
echo "foo" > "${cf}"
 
11343
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11344
cat "${cf}"
 
11345
runroot rpm -e configtest
 
11346
test ! -f "${cf}"
 
11347
 
 
11348
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
11349
at_status=$? at_failed=false
 
11350
$at_check_filter
 
11351
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
11352
echo >>"$at_stdout"; $as_echo "foo
 
11353
" | \
 
11354
  $at_diff - "$at_stdout" || at_failed=:
 
11355
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:66"
 
11356
$at_failed && at_fn_log_failure
 
11357
$at_traceon; }
 
11358
 
 
11359
  set +x
 
11360
  $at_times_p && times >"$at_times_file"
 
11361
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
11362
read at_status <"$at_status_file"
 
11363
#AT_STOP_189
 
11364
#AT_START_190
 
11365
at_fn_group_banner 190 'rpmconfig.at:91' \
 
11366
  "erase unchanged config" "                         " 12
 
11367
at_xfail=no
 
11368
(
 
11369
  $as_echo "190. $at_setup_line: testing $at_desc ..."
 
11370
  $at_traceon
 
11371
 
 
11372
 
 
11373
{ set +x
 
11374
$as_echo "$at_srcdir/rpmconfig.at:93:
 
11375
 
 
11376
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
11377
 
 
11378
 
 
11379
runroot rpm --initdb
 
11380
 
 
11381
cf=\"\${RPMTEST}\"/etc/my.conf
 
11382
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
11383
rm -rf \"\${TOPDIR}\"
 
11384
 
 
11385
runroot rpmbuild --quiet -bb \\
 
11386
        --define \"ver 1.0\" \\
 
11387
        --define \"filedata foo\" \\
 
11388
          /data/SPECS/configtest.spec
 
11389
 
 
11390
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11391
cat \"\${cf}\"
 
11392
runroot rpm -e configtest
 
11393
test ! -f \"\${cf}\"
 
11394
"
 
11395
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:93"
 
11396
( $at_check_trace;
 
11397
 
 
11398
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
11399
 
 
11400
 
 
11401
runroot rpm --initdb
 
11402
 
 
11403
cf="${RPMTEST}"/etc/my.conf
 
11404
rm -rf "${cf}" "${cf}".rpm*
 
11405
rm -rf "${TOPDIR}"
 
11406
 
 
11407
runroot rpmbuild --quiet -bb \
 
11408
        --define "ver 1.0" \
 
11409
        --define "filedata foo" \
 
11410
          /data/SPECS/configtest.spec
 
11411
 
 
11412
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11413
cat "${cf}"
 
11414
runroot rpm -e configtest
 
11415
test ! -f "${cf}"
 
11416
 
 
11417
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
11418
at_status=$? at_failed=false
 
11419
$at_check_filter
 
11420
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
11421
echo >>"$at_stdout"; $as_echo "foo
 
11422
" | \
 
11423
  $at_diff - "$at_stdout" || at_failed=:
 
11424
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:93"
 
11425
$at_failed && at_fn_log_failure
 
11426
$at_traceon; }
 
11427
 
 
11428
  set +x
 
11429
  $at_times_p && times >"$at_times_file"
 
11430
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
11431
read at_status <"$at_status_file"
 
11432
#AT_STOP_190
 
11433
#AT_START_191
 
11434
at_fn_group_banner 191 'rpmconfig.at:117' \
 
11435
  "erase changed config" "                           " 12
 
11436
at_xfail=no
 
11437
(
 
11438
  $as_echo "191. $at_setup_line: testing $at_desc ..."
 
11439
  $at_traceon
 
11440
 
 
11441
 
 
11442
{ set +x
 
11443
$as_echo "$at_srcdir/rpmconfig.at:119:
 
11444
 
 
11445
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
11446
 
 
11447
 
 
11448
runroot rpm --initdb
 
11449
 
 
11450
cf=\"\${RPMTEST}\"/etc/my.conf
 
11451
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
11452
rm -rf \"\${TOPDIR}\"
 
11453
 
 
11454
runroot rpmbuild --quiet -bb \\
 
11455
        --define \"ver 1.0\" \\
 
11456
        --define \"filedata foo\" \\
 
11457
          /data/SPECS/configtest.spec
 
11458
 
 
11459
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11460
cat \"\${cf}\"
 
11461
echo \"otherstuff\" > \"\${cf}\"
 
11462
runroot rpm -e configtest
 
11463
cat \"\${cf}.rpmsave\"
 
11464
test ! -f \"\${cf}\"
 
11465
"
 
11466
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:119"
 
11467
( $at_check_trace;
 
11468
 
 
11469
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
11470
 
 
11471
 
 
11472
runroot rpm --initdb
 
11473
 
 
11474
cf="${RPMTEST}"/etc/my.conf
 
11475
rm -rf "${cf}" "${cf}".rpm*
 
11476
rm -rf "${TOPDIR}"
 
11477
 
 
11478
runroot rpmbuild --quiet -bb \
 
11479
        --define "ver 1.0" \
 
11480
        --define "filedata foo" \
 
11481
          /data/SPECS/configtest.spec
 
11482
 
 
11483
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11484
cat "${cf}"
 
11485
echo "otherstuff" > "${cf}"
 
11486
runroot rpm -e configtest
 
11487
cat "${cf}.rpmsave"
 
11488
test ! -f "${cf}"
 
11489
 
 
11490
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
11491
at_status=$? at_failed=false
 
11492
$at_check_filter
 
11493
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
 
11494
" | \
 
11495
  $at_diff - "$at_stderr" || at_failed=:
 
11496
echo >>"$at_stdout"; $as_echo "foo
 
11497
otherstuff
 
11498
" | \
 
11499
  $at_diff - "$at_stdout" || at_failed=:
 
11500
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:119"
 
11501
$at_failed && at_fn_log_failure
 
11502
$at_traceon; }
 
11503
 
 
11504
  set +x
 
11505
  $at_times_p && times >"$at_times_file"
 
11506
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
11507
read at_status <"$at_status_file"
 
11508
#AT_STOP_191
 
11509
#AT_START_192
 
11510
at_fn_group_banner 192 'rpmconfig.at:147' \
 
11511
  "erase changed config(noreplace)" "                " 12
 
11512
at_xfail=no
 
11513
(
 
11514
  $as_echo "192. $at_setup_line: testing $at_desc ..."
 
11515
  $at_traceon
 
11516
 
 
11517
 
 
11518
{ set +x
 
11519
$as_echo "$at_srcdir/rpmconfig.at:149:
 
11520
 
 
11521
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
11522
 
 
11523
 
 
11524
runroot rpm --initdb
 
11525
 
 
11526
cf=\"\${RPMTEST}\"/etc/my.conf
 
11527
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
11528
rm -rf \"\${TOPDIR}\"
 
11529
 
 
11530
runroot rpmbuild --quiet -bb \\
 
11531
        --define \"ver 1.0\" \\
 
11532
        --define \"filedata foo\" \\
 
11533
        --define \"noreplace 1\" \\
 
11534
          /data/SPECS/configtest.spec
 
11535
 
 
11536
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11537
cat \"\${cf}\"
 
11538
echo \"otherstuff\" > \"\${cf}\"
 
11539
runroot rpm -e configtest
 
11540
cat \"\${cf}.rpmsave\"
 
11541
test ! -f \"\${cf}\"
 
11542
"
 
11543
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:149"
 
11544
( $at_check_trace;
 
11545
 
 
11546
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
11547
 
 
11548
 
 
11549
runroot rpm --initdb
 
11550
 
 
11551
cf="${RPMTEST}"/etc/my.conf
 
11552
rm -rf "${cf}" "${cf}".rpm*
 
11553
rm -rf "${TOPDIR}"
 
11554
 
 
11555
runroot rpmbuild --quiet -bb \
 
11556
        --define "ver 1.0" \
 
11557
        --define "filedata foo" \
 
11558
        --define "noreplace 1" \
 
11559
          /data/SPECS/configtest.spec
 
11560
 
 
11561
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11562
cat "${cf}"
 
11563
echo "otherstuff" > "${cf}"
 
11564
runroot rpm -e configtest
 
11565
cat "${cf}.rpmsave"
 
11566
test ! -f "${cf}"
 
11567
 
 
11568
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
11569
at_status=$? at_failed=false
 
11570
$at_check_filter
 
11571
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
 
11572
" | \
 
11573
  $at_diff - "$at_stderr" || at_failed=:
 
11574
echo >>"$at_stdout"; $as_echo "foo
 
11575
otherstuff
 
11576
" | \
 
11577
  $at_diff - "$at_stdout" || at_failed=:
 
11578
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:149"
 
11579
$at_failed && at_fn_log_failure
 
11580
$at_traceon; }
 
11581
 
 
11582
  set +x
 
11583
  $at_times_p && times >"$at_times_file"
 
11584
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
11585
read at_status <"$at_status_file"
 
11586
#AT_STOP_192
 
11587
#AT_START_193
 
11588
at_fn_group_banner 193 'rpmconfig.at:179' \
 
11589
  "upgrade unchanged config" "                       " 12
 
11590
at_xfail=no
 
11591
(
 
11592
  $as_echo "193. $at_setup_line: testing $at_desc ..."
 
11593
  $at_traceon
 
11594
 
 
11595
 
 
11596
{ set +x
 
11597
$as_echo "$at_srcdir/rpmconfig.at:181:
 
11598
 
 
11599
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
11600
 
 
11601
 
 
11602
runroot rpm --initdb
 
11603
 
 
11604
cf=\"\${RPMTEST}\"/etc/my.conf
 
11605
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
11606
rm -rf \"\${TOPDIR}\"
 
11607
 
 
11608
for v in \"1.0\" \"2.0\"; do
 
11609
    runroot rpmbuild --quiet -bb \\
 
11610
        --define \"ver \$v\" \\
 
11611
        --define \"filedata foo\" \\
 
11612
          /data/SPECS/configtest.spec
 
11613
done
 
11614
 
 
11615
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11616
cat \"\${cf}\"
 
11617
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
11618
cat \"\${cf}\"
 
11619
"
 
11620
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:181"
 
11621
( $at_check_trace;
 
11622
 
 
11623
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
11624
 
 
11625
 
 
11626
runroot rpm --initdb
 
11627
 
 
11628
cf="${RPMTEST}"/etc/my.conf
 
11629
rm -rf "${cf}" "${cf}".rpm*
 
11630
rm -rf "${TOPDIR}"
 
11631
 
 
11632
for v in "1.0" "2.0"; do
 
11633
    runroot rpmbuild --quiet -bb \
 
11634
        --define "ver $v" \
 
11635
        --define "filedata foo" \
 
11636
          /data/SPECS/configtest.spec
 
11637
done
 
11638
 
 
11639
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11640
cat "${cf}"
 
11641
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
11642
cat "${cf}"
 
11643
 
 
11644
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
11645
at_status=$? at_failed=false
 
11646
$at_check_filter
 
11647
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
11648
echo >>"$at_stdout"; $as_echo "foo
 
11649
foo
 
11650
" | \
 
11651
  $at_diff - "$at_stdout" || at_failed=:
 
11652
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:181"
 
11653
$at_failed && at_fn_log_failure
 
11654
$at_traceon; }
 
11655
 
 
11656
  set +x
 
11657
  $at_times_p && times >"$at_times_file"
 
11658
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
11659
read at_status <"$at_status_file"
 
11660
#AT_STOP_193
 
11661
#AT_START_194
 
11662
at_fn_group_banner 194 'rpmconfig.at:209' \
 
11663
  "upgrade modified config" "                        " 12
 
11664
at_xfail=no
 
11665
(
 
11666
  $as_echo "194. $at_setup_line: testing $at_desc ..."
 
11667
  $at_traceon
 
11668
 
 
11669
 
 
11670
{ set +x
 
11671
$as_echo "$at_srcdir/rpmconfig.at:211:
 
11672
 
 
11673
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
11674
 
 
11675
 
 
11676
runroot rpm --initdb
 
11677
 
 
11678
cf=\"\${RPMTEST}\"/etc/my.conf
 
11679
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
11680
rm -rf \"\${TOPDIR}\"
 
11681
 
 
11682
for v in \"1.0\" \"2.0\"; do
 
11683
    runroot rpmbuild --quiet -bb \\
 
11684
        --define \"ver \$v\" \\
 
11685
        --define \"filedata foo\" \\
 
11686
          /data/SPECS/configtest.spec
 
11687
done
 
11688
 
 
11689
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11690
cat \"\${cf}\"
 
11691
echo \"otherstuff\" > \"\${cf}\"
 
11692
cat \"\${cf}\"
 
11693
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
11694
cat \"\${cf}\"
 
11695
"
 
11696
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:211"
 
11697
( $at_check_trace;
 
11698
 
 
11699
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
11700
 
 
11701
 
 
11702
runroot rpm --initdb
 
11703
 
 
11704
cf="${RPMTEST}"/etc/my.conf
 
11705
rm -rf "${cf}" "${cf}".rpm*
 
11706
rm -rf "${TOPDIR}"
 
11707
 
 
11708
for v in "1.0" "2.0"; do
 
11709
    runroot rpmbuild --quiet -bb \
 
11710
        --define "ver $v" \
 
11711
        --define "filedata foo" \
 
11712
          /data/SPECS/configtest.spec
 
11713
done
 
11714
 
 
11715
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11716
cat "${cf}"
 
11717
echo "otherstuff" > "${cf}"
 
11718
cat "${cf}"
 
11719
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
11720
cat "${cf}"
 
11721
 
 
11722
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
11723
at_status=$? at_failed=false
 
11724
$at_check_filter
 
11725
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
11726
echo >>"$at_stdout"; $as_echo "foo
 
11727
otherstuff
 
11728
otherstuff
 
11729
" | \
 
11730
  $at_diff - "$at_stdout" || at_failed=:
 
11731
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:211"
 
11732
$at_failed && at_fn_log_failure
 
11733
$at_traceon; }
 
11734
 
 
11735
  set +x
 
11736
  $at_times_p && times >"$at_times_file"
 
11737
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
11738
read at_status <"$at_status_file"
 
11739
#AT_STOP_194
 
11740
#AT_START_195
 
11741
at_fn_group_banner 195 'rpmconfig.at:242' \
 
11742
  "upgrade changing config" "                        " 12
 
11743
at_xfail=no
 
11744
(
 
11745
  $as_echo "195. $at_setup_line: testing $at_desc ..."
 
11746
  $at_traceon
 
11747
 
 
11748
 
 
11749
{ set +x
 
11750
$as_echo "$at_srcdir/rpmconfig.at:244:
 
11751
 
 
11752
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
11753
 
 
11754
 
 
11755
runroot rpm --initdb
 
11756
 
 
11757
cf=\"\${RPMTEST}\"/etc/my.conf
 
11758
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
11759
rm -rf \"\${TOPDIR}\"
 
11760
 
 
11761
for v in \"1.0\" \"2.0\"; do
 
11762
    runroot rpmbuild --quiet -bb \\
 
11763
        --define \"ver \$v\" \\
 
11764
        --define \"filedata foo-\$v\" \\
 
11765
          /data/SPECS/configtest.spec
 
11766
done
 
11767
 
 
11768
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11769
cat \"\${cf}\"
 
11770
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
11771
cat \"\${cf}\"
 
11772
"
 
11773
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:244"
 
11774
( $at_check_trace;
 
11775
 
 
11776
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
11777
 
 
11778
 
 
11779
runroot rpm --initdb
 
11780
 
 
11781
cf="${RPMTEST}"/etc/my.conf
 
11782
rm -rf "${cf}" "${cf}".rpm*
 
11783
rm -rf "${TOPDIR}"
 
11784
 
 
11785
for v in "1.0" "2.0"; do
 
11786
    runroot rpmbuild --quiet -bb \
 
11787
        --define "ver $v" \
 
11788
        --define "filedata foo-$v" \
 
11789
          /data/SPECS/configtest.spec
 
11790
done
 
11791
 
 
11792
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11793
cat "${cf}"
 
11794
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
11795
cat "${cf}"
 
11796
 
 
11797
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
11798
at_status=$? at_failed=false
 
11799
$at_check_filter
 
11800
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
11801
echo >>"$at_stdout"; $as_echo "foo-1.0
 
11802
foo-2.0
 
11803
" | \
 
11804
  $at_diff - "$at_stdout" || at_failed=:
 
11805
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:244"
 
11806
$at_failed && at_fn_log_failure
 
11807
$at_traceon; }
 
11808
 
 
11809
  set +x
 
11810
  $at_times_p && times >"$at_times_file"
 
11811
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
11812
read at_status <"$at_status_file"
 
11813
#AT_STOP_195
 
11814
#AT_START_196
 
11815
at_fn_group_banner 196 'rpmconfig.at:272' \
 
11816
  "upgrade changing, modified config 1" "            " 12
 
11817
at_xfail=no
 
11818
(
 
11819
  $as_echo "196. $at_setup_line: testing $at_desc ..."
 
11820
  $at_traceon
 
11821
 
 
11822
 
 
11823
{ set +x
 
11824
$as_echo "$at_srcdir/rpmconfig.at:274:
 
11825
 
 
11826
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
11827
 
 
11828
 
 
11829
runroot rpm --initdb
 
11830
 
 
11831
cf=\"\${RPMTEST}\"/etc/my.conf
 
11832
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
11833
rm -rf \"\${TOPDIR}\"
 
11834
 
 
11835
for v in \"1.0\" \"2.0\"; do
 
11836
    runroot rpmbuild --quiet -bb \\
 
11837
        --define \"ver \$v\" \\
 
11838
        --define \"filedata foo-\$v\" \\
 
11839
          /data/SPECS/configtest.spec
 
11840
done
 
11841
 
 
11842
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11843
cat \"\${cf}\"
 
11844
echo \"otherstuff\" > \"\${RPMTEST}\"/etc/my.conf
 
11845
cat \"\${cf}\"
 
11846
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
11847
cat \"\${cf}\"
 
11848
cat \"\${cf}.rpmsave\"
 
11849
"
 
11850
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:274"
 
11851
( $at_check_trace;
 
11852
 
 
11853
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
11854
 
 
11855
 
 
11856
runroot rpm --initdb
 
11857
 
 
11858
cf="${RPMTEST}"/etc/my.conf
 
11859
rm -rf "${cf}" "${cf}".rpm*
 
11860
rm -rf "${TOPDIR}"
 
11861
 
 
11862
for v in "1.0" "2.0"; do
 
11863
    runroot rpmbuild --quiet -bb \
 
11864
        --define "ver $v" \
 
11865
        --define "filedata foo-$v" \
 
11866
          /data/SPECS/configtest.spec
 
11867
done
 
11868
 
 
11869
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11870
cat "${cf}"
 
11871
echo "otherstuff" > "${RPMTEST}"/etc/my.conf
 
11872
cat "${cf}"
 
11873
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
11874
cat "${cf}"
 
11875
cat "${cf}.rpmsave"
 
11876
 
 
11877
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
11878
at_status=$? at_failed=false
 
11879
$at_check_filter
 
11880
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
 
11881
" | \
 
11882
  $at_diff - "$at_stderr" || at_failed=:
 
11883
echo >>"$at_stdout"; $as_echo "foo-1.0
 
11884
otherstuff
 
11885
foo-2.0
 
11886
otherstuff
 
11887
" | \
 
11888
  $at_diff - "$at_stdout" || at_failed=:
 
11889
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:274"
 
11890
$at_failed && at_fn_log_failure
 
11891
$at_traceon; }
 
11892
 
 
11893
  set +x
 
11894
  $at_times_p && times >"$at_times_file"
 
11895
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
11896
read at_status <"$at_status_file"
 
11897
#AT_STOP_196
 
11898
#AT_START_197
 
11899
at_fn_group_banner 197 'rpmconfig.at:308' \
 
11900
  "upgrade changing, modified config 2" "            " 12
 
11901
at_xfail=no
 
11902
(
 
11903
  $as_echo "197. $at_setup_line: testing $at_desc ..."
 
11904
  $at_traceon
 
11905
 
 
11906
 
 
11907
{ set +x
 
11908
$as_echo "$at_srcdir/rpmconfig.at:310:
 
11909
 
 
11910
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
11911
 
 
11912
 
 
11913
runroot rpm --initdb
 
11914
 
 
11915
cf=\"\${RPMTEST}\"/etc/my.conf
 
11916
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
11917
rm -rf \"\${TOPDIR}\"
 
11918
 
 
11919
for v in \"1.0\" \"2.0\"; do
 
11920
    runroot rpmbuild --quiet -bb \\
 
11921
        --define \"ver \$v\" \\
 
11922
        --define \"filedata foo-\$v\" \\
 
11923
          /data/SPECS/configtest.spec
 
11924
done
 
11925
 
 
11926
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11927
cat \"\${cf}\"
 
11928
echo \"foo-2.0\" > \"\${RPMTEST}\"/etc/my.conf
 
11929
cat \"\${cf}\"
 
11930
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
11931
cat \"\${cf}\"
 
11932
"
 
11933
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:310"
 
11934
( $at_check_trace;
 
11935
 
 
11936
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
11937
 
 
11938
 
 
11939
runroot rpm --initdb
 
11940
 
 
11941
cf="${RPMTEST}"/etc/my.conf
 
11942
rm -rf "${cf}" "${cf}".rpm*
 
11943
rm -rf "${TOPDIR}"
 
11944
 
 
11945
for v in "1.0" "2.0"; do
 
11946
    runroot rpmbuild --quiet -bb \
 
11947
        --define "ver $v" \
 
11948
        --define "filedata foo-$v" \
 
11949
          /data/SPECS/configtest.spec
 
11950
done
 
11951
 
 
11952
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
11953
cat "${cf}"
 
11954
echo "foo-2.0" > "${RPMTEST}"/etc/my.conf
 
11955
cat "${cf}"
 
11956
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
11957
cat "${cf}"
 
11958
 
 
11959
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
11960
at_status=$? at_failed=false
 
11961
$at_check_filter
 
11962
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
11963
echo >>"$at_stdout"; $as_echo "foo-1.0
 
11964
foo-2.0
 
11965
foo-2.0
 
11966
" | \
 
11967
  $at_diff - "$at_stdout" || at_failed=:
 
11968
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:310"
 
11969
$at_failed && at_fn_log_failure
 
11970
$at_traceon; }
 
11971
 
 
11972
  set +x
 
11973
  $at_times_p && times >"$at_times_file"
 
11974
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
11975
read at_status <"$at_status_file"
 
11976
#AT_STOP_197
 
11977
#AT_START_198
 
11978
at_fn_group_banner 198 'rpmconfig.at:343' \
 
11979
  "upgrade unchanged config(noreplace)" "            " 12
 
11980
at_xfail=no
 
11981
(
 
11982
  $as_echo "198. $at_setup_line: testing $at_desc ..."
 
11983
  $at_traceon
 
11984
 
 
11985
 
 
11986
{ set +x
 
11987
$as_echo "$at_srcdir/rpmconfig.at:345:
 
11988
 
 
11989
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
11990
 
 
11991
 
 
11992
runroot rpm --initdb
 
11993
 
 
11994
cf=\"\${RPMTEST}\"/etc/my.conf
 
11995
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
11996
rm -rf \"\${TOPDIR}\"
 
11997
 
 
11998
for v in \"1.0\" \"2.0\"; do
 
11999
    runroot rpmbuild --quiet -bb \\
 
12000
        --define \"ver \$v\" \\
 
12001
        --define \"filedata foo\" \\
 
12002
        --define \"noreplace 1\" \\
 
12003
          /data/SPECS/configtest.spec
 
12004
done
 
12005
 
 
12006
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
12007
cat \"\${cf}\"
 
12008
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
12009
cat \"\${cf}\"
 
12010
"
 
12011
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:345"
 
12012
( $at_check_trace;
 
12013
 
 
12014
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
12015
 
 
12016
 
 
12017
runroot rpm --initdb
 
12018
 
 
12019
cf="${RPMTEST}"/etc/my.conf
 
12020
rm -rf "${cf}" "${cf}".rpm*
 
12021
rm -rf "${TOPDIR}"
 
12022
 
 
12023
for v in "1.0" "2.0"; do
 
12024
    runroot rpmbuild --quiet -bb \
 
12025
        --define "ver $v" \
 
12026
        --define "filedata foo" \
 
12027
        --define "noreplace 1" \
 
12028
          /data/SPECS/configtest.spec
 
12029
done
 
12030
 
 
12031
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
12032
cat "${cf}"
 
12033
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
12034
cat "${cf}"
 
12035
 
 
12036
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
12037
at_status=$? at_failed=false
 
12038
$at_check_filter
 
12039
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
12040
echo >>"$at_stdout"; $as_echo "foo
 
12041
foo
 
12042
" | \
 
12043
  $at_diff - "$at_stdout" || at_failed=:
 
12044
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:345"
 
12045
$at_failed && at_fn_log_failure
 
12046
$at_traceon; }
 
12047
 
 
12048
  set +x
 
12049
  $at_times_p && times >"$at_times_file"
 
12050
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
12051
read at_status <"$at_status_file"
 
12052
#AT_STOP_198
 
12053
#AT_START_199
 
12054
at_fn_group_banner 199 'rpmconfig.at:375' \
 
12055
  "upgrade modified config(noreplace)" "             " 12
 
12056
at_xfail=no
 
12057
(
 
12058
  $as_echo "199. $at_setup_line: testing $at_desc ..."
 
12059
  $at_traceon
 
12060
 
 
12061
 
 
12062
{ set +x
 
12063
$as_echo "$at_srcdir/rpmconfig.at:377:
 
12064
 
 
12065
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
12066
 
 
12067
 
 
12068
runroot rpm --initdb
 
12069
 
 
12070
cf=\"\${RPMTEST}\"/etc/my.conf
 
12071
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
12072
rm -rf \"\${TOPDIR}\"
 
12073
 
 
12074
for v in \"1.0\" \"2.0\"; do
 
12075
    runroot rpmbuild --quiet -bb \\
 
12076
        --define \"ver \$v\" \\
 
12077
        --define \"filedata foo\" \\
 
12078
        --define \"noreplace 1\" \\
 
12079
          /data/SPECS/configtest.spec
 
12080
done
 
12081
 
 
12082
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
12083
cat \"\${cf}\"
 
12084
echo \"otherstuff\" > \"\${cf}\"
 
12085
cat \"\${cf}\"
 
12086
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
12087
cat \"\${cf}\"
 
12088
"
 
12089
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:377"
 
12090
( $at_check_trace;
 
12091
 
 
12092
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
12093
 
 
12094
 
 
12095
runroot rpm --initdb
 
12096
 
 
12097
cf="${RPMTEST}"/etc/my.conf
 
12098
rm -rf "${cf}" "${cf}".rpm*
 
12099
rm -rf "${TOPDIR}"
 
12100
 
 
12101
for v in "1.0" "2.0"; do
 
12102
    runroot rpmbuild --quiet -bb \
 
12103
        --define "ver $v" \
 
12104
        --define "filedata foo" \
 
12105
        --define "noreplace 1" \
 
12106
          /data/SPECS/configtest.spec
 
12107
done
 
12108
 
 
12109
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
12110
cat "${cf}"
 
12111
echo "otherstuff" > "${cf}"
 
12112
cat "${cf}"
 
12113
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
12114
cat "${cf}"
 
12115
 
 
12116
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
12117
at_status=$? at_failed=false
 
12118
$at_check_filter
 
12119
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
12120
echo >>"$at_stdout"; $as_echo "foo
 
12121
otherstuff
 
12122
otherstuff
 
12123
" | \
 
12124
  $at_diff - "$at_stdout" || at_failed=:
 
12125
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:377"
 
12126
$at_failed && at_fn_log_failure
 
12127
$at_traceon; }
 
12128
 
 
12129
  set +x
 
12130
  $at_times_p && times >"$at_times_file"
 
12131
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
12132
read at_status <"$at_status_file"
 
12133
#AT_STOP_199
 
12134
#AT_START_200
 
12135
at_fn_group_banner 200 'rpmconfig.at:409' \
 
12136
  "upgrade changing config(noreplace)" "             " 12
 
12137
at_xfail=no
 
12138
(
 
12139
  $as_echo "200. $at_setup_line: testing $at_desc ..."
 
12140
  $at_traceon
 
12141
 
 
12142
 
 
12143
{ set +x
 
12144
$as_echo "$at_srcdir/rpmconfig.at:411:
 
12145
 
 
12146
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
12147
 
 
12148
 
 
12149
runroot rpm --initdb
 
12150
 
 
12151
cf=\"\${RPMTEST}\"/etc/my.conf
 
12152
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
12153
rm -rf \"\${TOPDIR}\"
 
12154
 
 
12155
for v in \"1.0\" \"2.0\"; do
 
12156
    runroot rpmbuild --quiet -bb \\
 
12157
        --define \"ver \$v\" \\
 
12158
        --define \"filedata foo-\$v\" \\
 
12159
        --define \"noreplace 1\" \\
 
12160
          /data/SPECS/configtest.spec
 
12161
done
 
12162
 
 
12163
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
12164
cat \"\${cf}\"
 
12165
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
12166
cat \"\${cf}\"
 
12167
"
 
12168
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:411"
 
12169
( $at_check_trace;
 
12170
 
 
12171
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
12172
 
 
12173
 
 
12174
runroot rpm --initdb
 
12175
 
 
12176
cf="${RPMTEST}"/etc/my.conf
 
12177
rm -rf "${cf}" "${cf}".rpm*
 
12178
rm -rf "${TOPDIR}"
 
12179
 
 
12180
for v in "1.0" "2.0"; do
 
12181
    runroot rpmbuild --quiet -bb \
 
12182
        --define "ver $v" \
 
12183
        --define "filedata foo-$v" \
 
12184
        --define "noreplace 1" \
 
12185
          /data/SPECS/configtest.spec
 
12186
done
 
12187
 
 
12188
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
12189
cat "${cf}"
 
12190
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
12191
cat "${cf}"
 
12192
 
 
12193
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
12194
at_status=$? at_failed=false
 
12195
$at_check_filter
 
12196
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
12197
echo >>"$at_stdout"; $as_echo "foo-1.0
 
12198
foo-2.0
 
12199
" | \
 
12200
  $at_diff - "$at_stdout" || at_failed=:
 
12201
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:411"
 
12202
$at_failed && at_fn_log_failure
 
12203
$at_traceon; }
 
12204
 
 
12205
  set +x
 
12206
  $at_times_p && times >"$at_times_file"
 
12207
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
12208
read at_status <"$at_status_file"
 
12209
#AT_STOP_200
 
12210
#AT_START_201
 
12211
at_fn_group_banner 201 'rpmconfig.at:440' \
 
12212
  "upgrade changing, modified config(noreplace) 1" " " 12
 
12213
at_xfail=no
 
12214
(
 
12215
  $as_echo "201. $at_setup_line: testing $at_desc ..."
 
12216
  $at_traceon
 
12217
 
 
12218
 
 
12219
{ set +x
 
12220
$as_echo "$at_srcdir/rpmconfig.at:442:
 
12221
 
 
12222
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
12223
 
 
12224
 
 
12225
runroot rpm --initdb
 
12226
 
 
12227
cf=\"\${RPMTEST}\"/etc/my.conf
 
12228
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
12229
rm -rf \"\${TOPDIR}\"
 
12230
 
 
12231
for v in \"1.0\" \"2.0\"; do
 
12232
    runroot rpmbuild --quiet -bb \\
 
12233
        --define \"ver \$v\" \\
 
12234
        --define \"filedata foo-\$v\" \\
 
12235
        --define \"noreplace 1\" \\
 
12236
          /data/SPECS/configtest.spec
 
12237
done
 
12238
 
 
12239
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
12240
cat \"\${cf}\"
 
12241
echo \"otherstuff\" > \"\${RPMTEST}\"/etc/my.conf
 
12242
cat \"\${cf}\"
 
12243
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
12244
cat \"\${cf}\"
 
12245
cat \"\${cf}.rpmnew\"
 
12246
"
 
12247
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:442"
 
12248
( $at_check_trace;
 
12249
 
 
12250
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
12251
 
 
12252
 
 
12253
runroot rpm --initdb
 
12254
 
 
12255
cf="${RPMTEST}"/etc/my.conf
 
12256
rm -rf "${cf}" "${cf}".rpm*
 
12257
rm -rf "${TOPDIR}"
 
12258
 
 
12259
for v in "1.0" "2.0"; do
 
12260
    runroot rpmbuild --quiet -bb \
 
12261
        --define "ver $v" \
 
12262
        --define "filedata foo-$v" \
 
12263
        --define "noreplace 1" \
 
12264
          /data/SPECS/configtest.spec
 
12265
done
 
12266
 
 
12267
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
12268
cat "${cf}"
 
12269
echo "otherstuff" > "${RPMTEST}"/etc/my.conf
 
12270
cat "${cf}"
 
12271
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
12272
cat "${cf}"
 
12273
cat "${cf}.rpmnew"
 
12274
 
 
12275
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
12276
at_status=$? at_failed=false
 
12277
$at_check_filter
 
12278
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf created as /etc/my.conf.rpmnew
 
12279
" | \
 
12280
  $at_diff - "$at_stderr" || at_failed=:
 
12281
echo >>"$at_stdout"; $as_echo "foo-1.0
 
12282
otherstuff
 
12283
otherstuff
 
12284
foo-2.0
 
12285
" | \
 
12286
  $at_diff - "$at_stdout" || at_failed=:
 
12287
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:442"
 
12288
$at_failed && at_fn_log_failure
 
12289
$at_traceon; }
 
12290
 
 
12291
  set +x
 
12292
  $at_times_p && times >"$at_times_file"
 
12293
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
12294
read at_status <"$at_status_file"
 
12295
#AT_STOP_201
 
12296
#AT_START_202
 
12297
at_fn_group_banner 202 'rpmconfig.at:477' \
 
12298
  "upgrade changing, modified config(noreplace) 2" " " 12
 
12299
at_xfail=no
 
12300
(
 
12301
  $as_echo "202. $at_setup_line: testing $at_desc ..."
 
12302
  $at_traceon
 
12303
 
 
12304
 
 
12305
{ set +x
 
12306
$as_echo "$at_srcdir/rpmconfig.at:479:
 
12307
 
 
12308
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
12309
 
 
12310
 
 
12311
runroot rpm --initdb
 
12312
 
 
12313
cf=\"\${RPMTEST}\"/etc/my.conf
 
12314
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
12315
rm -rf \"\${TOPDIR}\"
 
12316
 
 
12317
for v in \"1.0\" \"2.0\"; do
 
12318
    runroot rpmbuild --quiet -bb \\
 
12319
        --define \"ver \$v\" \\
 
12320
        --define \"filedata foo-\$v\" \\
 
12321
        --define \"noreplace 1\" \\
 
12322
          /data/SPECS/configtest.spec
 
12323
done
 
12324
 
 
12325
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
12326
cat \"\${cf}\"
 
12327
echo \"foo-2.0\" > \"\${RPMTEST}\"/etc/my.conf
 
12328
cat \"\${cf}\"
 
12329
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
12330
cat \"\${cf}\"
 
12331
"
 
12332
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:479"
 
12333
( $at_check_trace;
 
12334
 
 
12335
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
12336
 
 
12337
 
 
12338
runroot rpm --initdb
 
12339
 
 
12340
cf="${RPMTEST}"/etc/my.conf
 
12341
rm -rf "${cf}" "${cf}".rpm*
 
12342
rm -rf "${TOPDIR}"
 
12343
 
 
12344
for v in "1.0" "2.0"; do
 
12345
    runroot rpmbuild --quiet -bb \
 
12346
        --define "ver $v" \
 
12347
        --define "filedata foo-$v" \
 
12348
        --define "noreplace 1" \
 
12349
          /data/SPECS/configtest.spec
 
12350
done
 
12351
 
 
12352
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
12353
cat "${cf}"
 
12354
echo "foo-2.0" > "${RPMTEST}"/etc/my.conf
 
12355
cat "${cf}"
 
12356
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
12357
cat "${cf}"
 
12358
 
 
12359
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
12360
at_status=$? at_failed=false
 
12361
$at_check_filter
 
12362
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
12363
echo >>"$at_stdout"; $as_echo "foo-1.0
 
12364
foo-2.0
 
12365
foo-2.0
 
12366
" | \
 
12367
  $at_diff - "$at_stdout" || at_failed=:
 
12368
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:479"
 
12369
$at_failed && at_fn_log_failure
 
12370
$at_traceon; }
 
12371
 
 
12372
  set +x
 
12373
  $at_times_p && times >"$at_times_file"
 
12374
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
12375
read at_status <"$at_status_file"
 
12376
#AT_STOP_202
 
12377
#AT_START_203
 
12378
at_fn_group_banner 203 'rpmconfig.at:512' \
 
12379
  "upgrade unchanged shared config" "                " 12
 
12380
at_xfail=no
 
12381
(
 
12382
  $as_echo "203. $at_setup_line: testing $at_desc ..."
 
12383
  $at_traceon
 
12384
 
 
12385
 
 
12386
{ set +x
 
12387
$as_echo "$at_srcdir/rpmconfig.at:514:
 
12388
 
 
12389
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
12390
 
 
12391
 
 
12392
runroot rpm --initdb
 
12393
 
 
12394
cf=\"\${RPMTEST}\"/etc/my.conf
 
12395
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
12396
rm -rf \"\${TOPDIR}\"
 
12397
 
 
12398
for s in \"A\" \"B\"; do
 
12399
    for v in \"1.0\" \"2.0\"; do
 
12400
        runroot rpmbuild --quiet -bb \\
 
12401
            --define \"sub \$s\" \\
 
12402
            --define \"ver \$v\" \\
 
12403
            --define \"filedata foo\" \\
 
12404
              /data/SPECS/configtest.spec
 
12405
    done
 
12406
done
 
12407
 
 
12408
runroot rpm -U \\
 
12409
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
 
12410
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
12411
cat \"\${cf}\"
 
12412
runroot rpm -U \\
 
12413
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
 
12414
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
12415
cat \"\${cf}\"
 
12416
"
 
12417
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:514"
 
12418
( $at_check_trace;
 
12419
 
 
12420
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
12421
 
 
12422
 
 
12423
runroot rpm --initdb
 
12424
 
 
12425
cf="${RPMTEST}"/etc/my.conf
 
12426
rm -rf "${cf}" "${cf}".rpm*
 
12427
rm -rf "${TOPDIR}"
 
12428
 
 
12429
for s in "A" "B"; do
 
12430
    for v in "1.0" "2.0"; do
 
12431
        runroot rpmbuild --quiet -bb \
 
12432
            --define "sub $s" \
 
12433
            --define "ver $v" \
 
12434
            --define "filedata foo" \
 
12435
              /data/SPECS/configtest.spec
 
12436
    done
 
12437
done
 
12438
 
 
12439
runroot rpm -U \
 
12440
    "${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
 
12441
    "${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
12442
cat "${cf}"
 
12443
runroot rpm -U \
 
12444
    "${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
 
12445
    "${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
12446
cat "${cf}"
 
12447
 
 
12448
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
12449
at_status=$? at_failed=false
 
12450
$at_check_filter
 
12451
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
12452
echo >>"$at_stdout"; $as_echo "foo
 
12453
foo
 
12454
" | \
 
12455
  $at_diff - "$at_stdout" || at_failed=:
 
12456
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:514"
 
12457
$at_failed && at_fn_log_failure
 
12458
$at_traceon; }
 
12459
 
 
12460
 
 
12461
  set +x
 
12462
  $at_times_p && times >"$at_times_file"
 
12463
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
12464
read at_status <"$at_status_file"
 
12465
#AT_STOP_203
 
12466
#AT_START_204
 
12467
at_fn_group_banner 204 'rpmconfig.at:550' \
 
12468
  "upgrade modified shared config" "                 " 12
 
12469
at_xfail=no
 
12470
(
 
12471
  $as_echo "204. $at_setup_line: testing $at_desc ..."
 
12472
  $at_traceon
 
12473
 
 
12474
 
 
12475
{ set +x
 
12476
$as_echo "$at_srcdir/rpmconfig.at:552:
 
12477
 
 
12478
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
12479
 
 
12480
 
 
12481
runroot rpm --initdb
 
12482
 
 
12483
cf=\"\${RPMTEST}\"/etc/my.conf
 
12484
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
12485
rm -rf \"\${TOPDIR}\"
 
12486
 
 
12487
for s in \"A\" \"B\"; do
 
12488
    for v in \"1.0\" \"2.0\"; do
 
12489
        runroot rpmbuild --quiet -bb \\
 
12490
            --define \"sub \$s\" \\
 
12491
            --define \"ver \$v\" \\
 
12492
            --define \"filedata foo\" \\
 
12493
              /data/SPECS/configtest.spec
 
12494
    done
 
12495
done
 
12496
 
 
12497
runroot rpm -U \\
 
12498
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
 
12499
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
12500
cat \"\${cf}\"
 
12501
echo \"otherstuff\" > \"\${cf}\"
 
12502
cat \"\${cf}\"
 
12503
runroot rpm -U \\
 
12504
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
 
12505
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
12506
cat \"\${cf}\"
 
12507
"
 
12508
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:552"
 
12509
( $at_check_trace;
 
12510
 
 
12511
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
12512
 
 
12513
 
 
12514
runroot rpm --initdb
 
12515
 
 
12516
cf="${RPMTEST}"/etc/my.conf
 
12517
rm -rf "${cf}" "${cf}".rpm*
 
12518
rm -rf "${TOPDIR}"
 
12519
 
 
12520
for s in "A" "B"; do
 
12521
    for v in "1.0" "2.0"; do
 
12522
        runroot rpmbuild --quiet -bb \
 
12523
            --define "sub $s" \
 
12524
            --define "ver $v" \
 
12525
            --define "filedata foo" \
 
12526
              /data/SPECS/configtest.spec
 
12527
    done
 
12528
done
 
12529
 
 
12530
runroot rpm -U \
 
12531
    "${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
 
12532
    "${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
12533
cat "${cf}"
 
12534
echo "otherstuff" > "${cf}"
 
12535
cat "${cf}"
 
12536
runroot rpm -U \
 
12537
    "${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
 
12538
    "${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
12539
cat "${cf}"
 
12540
 
 
12541
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
12542
at_status=$? at_failed=false
 
12543
$at_check_filter
 
12544
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
12545
echo >>"$at_stdout"; $as_echo "foo
 
12546
otherstuff
 
12547
otherstuff
 
12548
" | \
 
12549
  $at_diff - "$at_stdout" || at_failed=:
 
12550
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:552"
 
12551
$at_failed && at_fn_log_failure
 
12552
$at_traceon; }
 
12553
 
 
12554
  set +x
 
12555
  $at_times_p && times >"$at_times_file"
 
12556
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
12557
read at_status <"$at_status_file"
 
12558
#AT_STOP_204
 
12559
#AT_START_205
 
12560
at_fn_group_banner 205 'rpmconfig.at:590' \
 
12561
  "upgrade changing shared config" "                 " 12
 
12562
at_xfail=no
 
12563
(
 
12564
  $as_echo "205. $at_setup_line: testing $at_desc ..."
 
12565
  $at_traceon
 
12566
 
 
12567
 
 
12568
{ set +x
 
12569
$as_echo "$at_srcdir/rpmconfig.at:592:
 
12570
 
 
12571
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
12572
 
 
12573
 
 
12574
runroot rpm --initdb
 
12575
 
 
12576
cf=\"\${RPMTEST}\"/etc/my.conf
 
12577
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
12578
rm -rf \"\${TOPDIR}\"
 
12579
 
 
12580
for s in \"A\" \"B\"; do
 
12581
    for v in \"1.0\" \"2.0\"; do
 
12582
        runroot rpmbuild --quiet -bb \\
 
12583
            --define \"sub \$s\" \\
 
12584
            --define \"ver \$v\" \\
 
12585
            --define \"filedata foo-\$v\" \\
 
12586
              /data/SPECS/configtest.spec
 
12587
    done
 
12588
done
 
12589
 
 
12590
runroot rpm -U \\
 
12591
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
 
12592
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
12593
cat \"\${cf}\"
 
12594
runroot rpm -U \\
 
12595
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
 
12596
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
12597
cat \"\${cf}\"
 
12598
"
 
12599
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:592"
 
12600
( $at_check_trace;
 
12601
 
 
12602
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
12603
 
 
12604
 
 
12605
runroot rpm --initdb
 
12606
 
 
12607
cf="${RPMTEST}"/etc/my.conf
 
12608
rm -rf "${cf}" "${cf}".rpm*
 
12609
rm -rf "${TOPDIR}"
 
12610
 
 
12611
for s in "A" "B"; do
 
12612
    for v in "1.0" "2.0"; do
 
12613
        runroot rpmbuild --quiet -bb \
 
12614
            --define "sub $s" \
 
12615
            --define "ver $v" \
 
12616
            --define "filedata foo-$v" \
 
12617
              /data/SPECS/configtest.spec
 
12618
    done
 
12619
done
 
12620
 
 
12621
runroot rpm -U \
 
12622
    "${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
 
12623
    "${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
12624
cat "${cf}"
 
12625
runroot rpm -U \
 
12626
    "${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
 
12627
    "${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
12628
cat "${cf}"
 
12629
 
 
12630
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
12631
at_status=$? at_failed=false
 
12632
$at_check_filter
 
12633
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
12634
echo >>"$at_stdout"; $as_echo "foo-1.0
 
12635
foo-2.0
 
12636
" | \
 
12637
  $at_diff - "$at_stdout" || at_failed=:
 
12638
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:592"
 
12639
$at_failed && at_fn_log_failure
 
12640
$at_traceon; }
 
12641
 
 
12642
  set +x
 
12643
  $at_times_p && times >"$at_times_file"
 
12644
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
12645
read at_status <"$at_status_file"
 
12646
#AT_STOP_205
 
12647
#AT_START_206
 
12648
at_fn_group_banner 206 'rpmconfig.at:627' \
 
12649
  "upgrade changing, modified shared config 1" "     " 12
 
12650
at_xfail=no
 
12651
(
 
12652
  $as_echo "206. $at_setup_line: testing $at_desc ..."
 
12653
  $at_traceon
 
12654
 
 
12655
 
 
12656
{ set +x
 
12657
$as_echo "$at_srcdir/rpmconfig.at:629:
 
12658
 
 
12659
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
12660
 
 
12661
 
 
12662
runroot rpm --initdb
 
12663
 
 
12664
cf=\"\${RPMTEST}\"/etc/my.conf
 
12665
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
12666
rm -rf \"\${TOPDIR}\"
 
12667
 
 
12668
for s in \"A\" \"B\"; do
 
12669
    for v in \"1.0\" \"2.0\"; do
 
12670
        runroot rpmbuild --quiet -bb \\
 
12671
            --define \"sub \$s\" \\
 
12672
            --define \"ver \$v\" \\
 
12673
            --define \"filedata foo-\$v\" \\
 
12674
              /data/SPECS/configtest.spec
 
12675
    done
 
12676
done
 
12677
 
 
12678
runroot rpm -U \\
 
12679
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
 
12680
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
12681
cat \"\${cf}\"
 
12682
echo \"otherstuff\" > \"\${RPMTEST}\"/etc/my.conf
 
12683
cat \"\${cf}\"
 
12684
runroot rpm -U \\
 
12685
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
 
12686
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
12687
cat \"\${cf}\"
 
12688
cat \"\${cf}.rpmsave\"
 
12689
"
 
12690
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:629"
 
12691
( $at_check_trace;
 
12692
 
 
12693
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
12694
 
 
12695
 
 
12696
runroot rpm --initdb
 
12697
 
 
12698
cf="${RPMTEST}"/etc/my.conf
 
12699
rm -rf "${cf}" "${cf}".rpm*
 
12700
rm -rf "${TOPDIR}"
 
12701
 
 
12702
for s in "A" "B"; do
 
12703
    for v in "1.0" "2.0"; do
 
12704
        runroot rpmbuild --quiet -bb \
 
12705
            --define "sub $s" \
 
12706
            --define "ver $v" \
 
12707
            --define "filedata foo-$v" \
 
12708
              /data/SPECS/configtest.spec
 
12709
    done
 
12710
done
 
12711
 
 
12712
runroot rpm -U \
 
12713
    "${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
 
12714
    "${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
12715
cat "${cf}"
 
12716
echo "otherstuff" > "${RPMTEST}"/etc/my.conf
 
12717
cat "${cf}"
 
12718
runroot rpm -U \
 
12719
    "${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
 
12720
    "${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
12721
cat "${cf}"
 
12722
cat "${cf}.rpmsave"
 
12723
 
 
12724
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
12725
at_status=$? at_failed=false
 
12726
$at_check_filter
 
12727
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
 
12728
" | \
 
12729
  $at_diff - "$at_stderr" || at_failed=:
 
12730
echo >>"$at_stdout"; $as_echo "foo-1.0
 
12731
otherstuff
 
12732
foo-2.0
 
12733
otherstuff
 
12734
" | \
 
12735
  $at_diff - "$at_stdout" || at_failed=:
 
12736
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:629"
 
12737
$at_failed && at_fn_log_failure
 
12738
$at_traceon; }
 
12739
 
 
12740
  set +x
 
12741
  $at_times_p && times >"$at_times_file"
 
12742
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
12743
read at_status <"$at_status_file"
 
12744
#AT_STOP_206
 
12745
#AT_START_207
 
12746
at_fn_group_banner 207 'rpmconfig.at:670' \
 
12747
  "upgrade changing, modified shared config 2" "     " 12
 
12748
at_xfail=no
 
12749
(
 
12750
  $as_echo "207. $at_setup_line: testing $at_desc ..."
 
12751
  $at_traceon
 
12752
 
 
12753
 
 
12754
{ set +x
 
12755
$as_echo "$at_srcdir/rpmconfig.at:672:
 
12756
 
 
12757
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
12758
 
 
12759
 
 
12760
runroot rpm --initdb
 
12761
 
 
12762
cf=\"\${RPMTEST}\"/etc/my.conf
 
12763
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
12764
rm -rf \"\${TOPDIR}\"
 
12765
 
 
12766
for s in \"A\" \"B\"; do
 
12767
    for v in \"1.0\" \"2.0\"; do
 
12768
        runroot rpmbuild --quiet -bb \\
 
12769
            --define \"sub \$s\" \\
 
12770
            --define \"ver \$v\" \\
 
12771
            --define \"filedata foo-\$v\" \\
 
12772
              /data/SPECS/configtest.spec
 
12773
    done
 
12774
done
 
12775
 
 
12776
runroot rpm -U \\
 
12777
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
 
12778
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
12779
cat \"\${cf}\"
 
12780
echo \"foo-2.0\" > \"\${RPMTEST}\"/etc/my.conf
 
12781
cat \"\${cf}\"
 
12782
runroot rpm -U \\
 
12783
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
 
12784
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
12785
cat \"\${cf}\"
 
12786
"
 
12787
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:672"
 
12788
( $at_check_trace;
 
12789
 
 
12790
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
12791
 
 
12792
 
 
12793
runroot rpm --initdb
 
12794
 
 
12795
cf="${RPMTEST}"/etc/my.conf
 
12796
rm -rf "${cf}" "${cf}".rpm*
 
12797
rm -rf "${TOPDIR}"
 
12798
 
 
12799
for s in "A" "B"; do
 
12800
    for v in "1.0" "2.0"; do
 
12801
        runroot rpmbuild --quiet -bb \
 
12802
            --define "sub $s" \
 
12803
            --define "ver $v" \
 
12804
            --define "filedata foo-$v" \
 
12805
              /data/SPECS/configtest.spec
 
12806
    done
 
12807
done
 
12808
 
 
12809
runroot rpm -U \
 
12810
    "${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
 
12811
    "${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
12812
cat "${cf}"
 
12813
echo "foo-2.0" > "${RPMTEST}"/etc/my.conf
 
12814
cat "${cf}"
 
12815
runroot rpm -U \
 
12816
    "${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
 
12817
    "${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
12818
cat "${cf}"
 
12819
 
 
12820
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
12821
at_status=$? at_failed=false
 
12822
$at_check_filter
 
12823
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
12824
echo >>"$at_stdout"; $as_echo "foo-1.0
 
12825
foo-2.0
 
12826
foo-2.0
 
12827
" | \
 
12828
  $at_diff - "$at_stdout" || at_failed=:
 
12829
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:672"
 
12830
$at_failed && at_fn_log_failure
 
12831
$at_traceon; }
 
12832
 
 
12833
  set +x
 
12834
  $at_times_p && times >"$at_times_file"
 
12835
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
12836
read at_status <"$at_status_file"
 
12837
#AT_STOP_207
 
12838
#AT_START_208
 
12839
at_fn_group_banner 208 'rpmconfig.at:711' \
 
12840
  "upgrade changing, modified shared config(noreplace) 1" "" 12
 
12841
at_xfail=no
 
12842
(
 
12843
  $as_echo "208. $at_setup_line: testing $at_desc ..."
 
12844
  $at_traceon
 
12845
 
 
12846
 
 
12847
{ set +x
 
12848
$as_echo "$at_srcdir/rpmconfig.at:713:
 
12849
 
 
12850
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
12851
 
 
12852
 
 
12853
runroot rpm --initdb
 
12854
 
 
12855
cf=\"\${RPMTEST}\"/etc/my.conf
 
12856
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
12857
rm -rf \"\${TOPDIR}\"
 
12858
 
 
12859
for s in \"A\" \"B\"; do
 
12860
    for v in \"1.0\" \"2.0\"; do
 
12861
        runroot rpmbuild --quiet -bb \\
 
12862
            --define \"sub \$s\" \\
 
12863
            --define \"ver \$v\" \\
 
12864
            --define \"filedata foo-\$v\" \\
 
12865
            --define \"noreplace 1\" \\
 
12866
              /data/SPECS/configtest.spec
 
12867
    done
 
12868
done
 
12869
 
 
12870
runroot rpm -U \\
 
12871
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
 
12872
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
12873
cat \"\${cf}\"
 
12874
echo \"otherstuff\" > \"\${RPMTEST}\"/etc/my.conf
 
12875
cat \"\${cf}\"
 
12876
runroot rpm -U \\
 
12877
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
 
12878
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
12879
cat \"\${cf}\"
 
12880
cat \"\${cf}.rpmnew\"
 
12881
"
 
12882
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:713"
 
12883
( $at_check_trace;
 
12884
 
 
12885
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
12886
 
 
12887
 
 
12888
runroot rpm --initdb
 
12889
 
 
12890
cf="${RPMTEST}"/etc/my.conf
 
12891
rm -rf "${cf}" "${cf}".rpm*
 
12892
rm -rf "${TOPDIR}"
 
12893
 
 
12894
for s in "A" "B"; do
 
12895
    for v in "1.0" "2.0"; do
 
12896
        runroot rpmbuild --quiet -bb \
 
12897
            --define "sub $s" \
 
12898
            --define "ver $v" \
 
12899
            --define "filedata foo-$v" \
 
12900
            --define "noreplace 1" \
 
12901
              /data/SPECS/configtest.spec
 
12902
    done
 
12903
done
 
12904
 
 
12905
runroot rpm -U \
 
12906
    "${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
 
12907
    "${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
12908
cat "${cf}"
 
12909
echo "otherstuff" > "${RPMTEST}"/etc/my.conf
 
12910
cat "${cf}"
 
12911
runroot rpm -U \
 
12912
    "${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
 
12913
    "${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
12914
cat "${cf}"
 
12915
cat "${cf}.rpmnew"
 
12916
 
 
12917
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
12918
at_status=$? at_failed=false
 
12919
$at_check_filter
 
12920
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf created as /etc/my.conf.rpmnew
 
12921
" | \
 
12922
  $at_diff - "$at_stderr" || at_failed=:
 
12923
echo >>"$at_stdout"; $as_echo "foo-1.0
 
12924
otherstuff
 
12925
otherstuff
 
12926
foo-2.0
 
12927
" | \
 
12928
  $at_diff - "$at_stdout" || at_failed=:
 
12929
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:713"
 
12930
$at_failed && at_fn_log_failure
 
12931
$at_traceon; }
 
12932
 
 
12933
  set +x
 
12934
  $at_times_p && times >"$at_times_file"
 
12935
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
12936
read at_status <"$at_status_file"
 
12937
#AT_STOP_208
 
12938
#AT_START_209
 
12939
at_fn_group_banner 209 'rpmconfig.at:755' \
 
12940
  "upgrade changing, modified shared config(noreplace) 2" "" 12
 
12941
at_xfail=no
 
12942
(
 
12943
  $as_echo "209. $at_setup_line: testing $at_desc ..."
 
12944
  $at_traceon
 
12945
 
 
12946
 
 
12947
{ set +x
 
12948
$as_echo "$at_srcdir/rpmconfig.at:757:
 
12949
 
 
12950
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
12951
 
 
12952
 
 
12953
runroot rpm --initdb
 
12954
 
 
12955
cf=\"\${RPMTEST}\"/etc/my.conf
 
12956
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
12957
rm -rf \"\${TOPDIR}\"
 
12958
 
 
12959
for s in \"A\" \"B\"; do
 
12960
    for v in \"1.0\" \"2.0\"; do
 
12961
        runroot rpmbuild --quiet -bb \\
 
12962
            --define \"sub \$s\" \\
 
12963
            --define \"ver \$v\" \\
 
12964
            --define \"filedata foo-\$v\" \\
 
12965
            --define \"noreplace 1\" \\
 
12966
              /data/SPECS/configtest.spec
 
12967
    done
 
12968
done
 
12969
 
 
12970
runroot rpm -U \\
 
12971
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
 
12972
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
12973
cat \"\${cf}\"
 
12974
echo \"foo-2.0\" > \"\${RPMTEST}\"/etc/my.conf
 
12975
cat \"\${cf}\"
 
12976
runroot rpm -U \\
 
12977
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
 
12978
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
12979
cat \"\${cf}\"
 
12980
"
 
12981
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:757"
 
12982
( $at_check_trace;
 
12983
 
 
12984
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
12985
 
 
12986
 
 
12987
runroot rpm --initdb
 
12988
 
 
12989
cf="${RPMTEST}"/etc/my.conf
 
12990
rm -rf "${cf}" "${cf}".rpm*
 
12991
rm -rf "${TOPDIR}"
 
12992
 
 
12993
for s in "A" "B"; do
 
12994
    for v in "1.0" "2.0"; do
 
12995
        runroot rpmbuild --quiet -bb \
 
12996
            --define "sub $s" \
 
12997
            --define "ver $v" \
 
12998
            --define "filedata foo-$v" \
 
12999
            --define "noreplace 1" \
 
13000
              /data/SPECS/configtest.spec
 
13001
    done
 
13002
done
 
13003
 
 
13004
runroot rpm -U \
 
13005
    "${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
 
13006
    "${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
13007
cat "${cf}"
 
13008
echo "foo-2.0" > "${RPMTEST}"/etc/my.conf
 
13009
cat "${cf}"
 
13010
runroot rpm -U \
 
13011
    "${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
 
13012
    "${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
13013
cat "${cf}"
 
13014
 
 
13015
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
13016
at_status=$? at_failed=false
 
13017
$at_check_filter
 
13018
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
13019
echo >>"$at_stdout"; $as_echo "foo-1.0
 
13020
foo-2.0
 
13021
foo-2.0
 
13022
" | \
 
13023
  $at_diff - "$at_stdout" || at_failed=:
 
13024
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:757"
 
13025
$at_failed && at_fn_log_failure
 
13026
$at_traceon; }
 
13027
 
 
13028
  set +x
 
13029
  $at_times_p && times >"$at_times_file"
 
13030
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
13031
read at_status <"$at_status_file"
 
13032
#AT_STOP_209
 
13033
#AT_START_210
 
13034
at_fn_group_banner 210 'rpmconfig.at:796' \
 
13035
  "install/upgrade/erase ghost config" "             " 12
 
13036
at_xfail=no
 
13037
(
 
13038
  $as_echo "210. $at_setup_line: testing $at_desc ..."
 
13039
  $at_traceon
 
13040
 
 
13041
 
 
13042
{ set +x
 
13043
$as_echo "$at_srcdir/rpmconfig.at:798:
9319
13044
 
9320
13045
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
9321
13046
 
9353
13078
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
9354
13079
cat \"\${cf}\"
9355
13080
runroot rpm -e configtest
9356
 
test ! -f \"\${cf}\" && echo OK2
 
13081
cat \"\${cf}\"
9357
13082
"
9358
 
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:109"
 
13083
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:798"
9359
13084
( $at_check_trace;
9360
13085
 
9361
13086
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
9394
13119
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
9395
13120
cat "${cf}"
9396
13121
runroot rpm -e configtest
9397
 
test ! -f "${cf}" && echo OK2
 
13122
cat "${cf}"
9398
13123
 
9399
13124
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
9400
13125
at_status=$? at_failed=false
9407
13132
OK2
9408
13133
buster
9409
13134
buster
9410
 
OK2
9411
 
" | \
9412
 
  $at_diff - "$at_stdout" || at_failed=:
9413
 
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:109"
9414
 
$at_failed && at_fn_log_failure
9415
 
$at_traceon; }
9416
 
 
9417
 
  set +x
9418
 
  $at_times_p && times >"$at_times_file"
9419
 
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9420
 
read at_status <"$at_status_file"
9421
 
#AT_STOP_165
9422
 
#AT_START_166
9423
 
at_fn_group_banner 166 'rpmmacro.at:6' \
9424
 
  "simple rpm --eval" "                              " 12
9425
 
at_xfail=no
9426
 
(
9427
 
  $as_echo "166. $at_setup_line: testing $at_desc ..."
 
13135
buster
 
13136
" | \
 
13137
  $at_diff - "$at_stdout" || at_failed=:
 
13138
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig.at:798"
 
13139
$at_failed && at_fn_log_failure
 
13140
$at_traceon; }
 
13141
 
 
13142
  set +x
 
13143
  $at_times_p && times >"$at_times_file"
 
13144
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
13145
read at_status <"$at_status_file"
 
13146
#AT_STOP_210
 
13147
#AT_START_211
 
13148
at_fn_group_banner 211 'rpmconfig2.at:6' \
 
13149
  "install config on existiting symlink" "           " 13
 
13150
at_xfail=no
 
13151
(
 
13152
  $as_echo "211. $at_setup_line: testing $at_desc ..."
 
13153
  $at_traceon
 
13154
 
 
13155
 
 
13156
{ set +x
 
13157
$as_echo "$at_srcdir/rpmconfig2.at:8:
 
13158
 
 
13159
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
13160
 
 
13161
 
 
13162
runroot rpm --initdb
 
13163
 
 
13164
cf=\"\${RPMTEST}\"/etc/my.conf
 
13165
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
13166
rm -rf \"\${TOPDIR}\"
 
13167
 
 
13168
runroot rpmbuild --quiet -bb \\
 
13169
        --define \"ver 1.0\" \\
 
13170
        --define \"filedata foo\" \\
 
13171
        --define \"filetype link\" \\
 
13172
          /data/SPECS/configtest.spec
 
13173
 
 
13174
ln -s \"otherstuff\" \"\${cf}\"
 
13175
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13176
readlink \"\${cf}\"
 
13177
runroot rpm -e configtest
 
13178
readlink \"\${cf}.rpmorig\"
 
13179
"
 
13180
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:8"
 
13181
( $at_check_trace;
 
13182
 
 
13183
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
13184
 
 
13185
 
 
13186
runroot rpm --initdb
 
13187
 
 
13188
cf="${RPMTEST}"/etc/my.conf
 
13189
rm -rf "${cf}" "${cf}".rpm*
 
13190
rm -rf "${TOPDIR}"
 
13191
 
 
13192
runroot rpmbuild --quiet -bb \
 
13193
        --define "ver 1.0" \
 
13194
        --define "filedata foo" \
 
13195
        --define "filetype link" \
 
13196
          /data/SPECS/configtest.spec
 
13197
 
 
13198
ln -s "otherstuff" "${cf}"
 
13199
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13200
readlink "${cf}"
 
13201
runroot rpm -e configtest
 
13202
readlink "${cf}.rpmorig"
 
13203
 
 
13204
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
13205
at_status=$? at_failed=false
 
13206
$at_check_filter
 
13207
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmorig
 
13208
" | \
 
13209
  $at_diff - "$at_stderr" || at_failed=:
 
13210
echo >>"$at_stdout"; $as_echo "foo
 
13211
otherstuff
 
13212
" | \
 
13213
  $at_diff - "$at_stdout" || at_failed=:
 
13214
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:8"
 
13215
$at_failed && at_fn_log_failure
 
13216
$at_traceon; }
 
13217
 
 
13218
  set +x
 
13219
  $at_times_p && times >"$at_times_file"
 
13220
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
13221
read at_status <"$at_status_file"
 
13222
#AT_STOP_211
 
13223
#AT_START_212
 
13224
at_fn_group_banner 212 'rpmconfig2.at:36' \
 
13225
  "install config on existiting identical link" "    " 13
 
13226
at_xfail=no
 
13227
(
 
13228
  $as_echo "212. $at_setup_line: testing $at_desc ..."
 
13229
  $at_traceon
 
13230
 
 
13231
 
 
13232
{ set +x
 
13233
$as_echo "$at_srcdir/rpmconfig2.at:38:
 
13234
 
 
13235
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
13236
 
 
13237
 
 
13238
runroot rpm --initdb
 
13239
 
 
13240
cf=\"\${RPMTEST}\"/etc/my.conf
 
13241
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
13242
rm -rf \"\${TOPDIR}\"
 
13243
 
 
13244
runroot rpmbuild --quiet -bb \\
 
13245
        --define \"ver 1.0\" \\
 
13246
        --define \"filedata foo\" \\
 
13247
        --define \"filetype link\" \\
 
13248
          /data/SPECS/configtest.spec
 
13249
 
 
13250
ln -s \"foo\" \"\${cf}\"
 
13251
readlink \"\${cf}\"
 
13252
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13253
readlink \"\${cf}\"
 
13254
runroot rpm -e configtest
 
13255
test ! -L \"\${cf}\"
 
13256
"
 
13257
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:38"
 
13258
( $at_check_trace;
 
13259
 
 
13260
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
13261
 
 
13262
 
 
13263
runroot rpm --initdb
 
13264
 
 
13265
cf="${RPMTEST}"/etc/my.conf
 
13266
rm -rf "${cf}" "${cf}".rpm*
 
13267
rm -rf "${TOPDIR}"
 
13268
 
 
13269
runroot rpmbuild --quiet -bb \
 
13270
        --define "ver 1.0" \
 
13271
        --define "filedata foo" \
 
13272
        --define "filetype link" \
 
13273
          /data/SPECS/configtest.spec
 
13274
 
 
13275
ln -s "foo" "${cf}"
 
13276
readlink "${cf}"
 
13277
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13278
readlink "${cf}"
 
13279
runroot rpm -e configtest
 
13280
test ! -L "${cf}"
 
13281
 
 
13282
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
13283
at_status=$? at_failed=false
 
13284
$at_check_filter
 
13285
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
13286
echo >>"$at_stdout"; $as_echo "foo
 
13287
foo
 
13288
" | \
 
13289
  $at_diff - "$at_stdout" || at_failed=:
 
13290
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:38"
 
13291
$at_failed && at_fn_log_failure
 
13292
$at_traceon; }
 
13293
 
 
13294
  set +x
 
13295
  $at_times_p && times >"$at_times_file"
 
13296
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
13297
read at_status <"$at_status_file"
 
13298
#AT_STOP_212
 
13299
#AT_START_213
 
13300
at_fn_group_banner 213 'rpmconfig2.at:66' \
 
13301
  "erase unchanged config link" "                    " 13
 
13302
at_xfail=no
 
13303
(
 
13304
  $as_echo "213. $at_setup_line: testing $at_desc ..."
 
13305
  $at_traceon
 
13306
 
 
13307
 
 
13308
{ set +x
 
13309
$as_echo "$at_srcdir/rpmconfig2.at:68:
 
13310
 
 
13311
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
13312
 
 
13313
 
 
13314
runroot rpm --initdb
 
13315
 
 
13316
cf=\"\${RPMTEST}\"/etc/my.conf
 
13317
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
13318
rm -rf \"\${TOPDIR}\"
 
13319
 
 
13320
runroot rpmbuild --quiet -bb \\
 
13321
        --define \"ver 1.0\" \\
 
13322
        --define \"filedata foo\" \\
 
13323
        --define \"filetype link\" \\
 
13324
          /data/SPECS/configtest.spec
 
13325
 
 
13326
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13327
readlink \"\${cf}\"
 
13328
runroot rpm -e configtest
 
13329
test ! -L \"\${cf}\"
 
13330
"
 
13331
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:68"
 
13332
( $at_check_trace;
 
13333
 
 
13334
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
13335
 
 
13336
 
 
13337
runroot rpm --initdb
 
13338
 
 
13339
cf="${RPMTEST}"/etc/my.conf
 
13340
rm -rf "${cf}" "${cf}".rpm*
 
13341
rm -rf "${TOPDIR}"
 
13342
 
 
13343
runroot rpmbuild --quiet -bb \
 
13344
        --define "ver 1.0" \
 
13345
        --define "filedata foo" \
 
13346
        --define "filetype link" \
 
13347
          /data/SPECS/configtest.spec
 
13348
 
 
13349
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13350
readlink "${cf}"
 
13351
runroot rpm -e configtest
 
13352
test ! -L "${cf}"
 
13353
 
 
13354
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
13355
at_status=$? at_failed=false
 
13356
$at_check_filter
 
13357
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
13358
echo >>"$at_stdout"; $as_echo "foo
 
13359
" | \
 
13360
  $at_diff - "$at_stdout" || at_failed=:
 
13361
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:68"
 
13362
$at_failed && at_fn_log_failure
 
13363
$at_traceon; }
 
13364
 
 
13365
  set +x
 
13366
  $at_times_p && times >"$at_times_file"
 
13367
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
13368
read at_status <"$at_status_file"
 
13369
#AT_STOP_213
 
13370
#AT_START_214
 
13371
at_fn_group_banner 214 'rpmconfig2.at:93' \
 
13372
  "erase changed config link" "                      " 13
 
13373
at_xfail=no
 
13374
(
 
13375
  $as_echo "214. $at_setup_line: testing $at_desc ..."
 
13376
  $at_traceon
 
13377
 
 
13378
 
 
13379
{ set +x
 
13380
$as_echo "$at_srcdir/rpmconfig2.at:95:
 
13381
 
 
13382
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
13383
 
 
13384
 
 
13385
runroot rpm --initdb
 
13386
 
 
13387
cf=\"\${RPMTEST}\"/etc/my.conf
 
13388
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
13389
rm -rf \"\${TOPDIR}\"
 
13390
 
 
13391
runroot rpmbuild --quiet -bb \\
 
13392
        --define \"ver 1.0\" \\
 
13393
        --define \"filedata foo\" \\
 
13394
        --define \"filetype link\" \\
 
13395
          /data/SPECS/configtest.spec
 
13396
 
 
13397
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13398
readlink \"\${cf}\"
 
13399
ln -sf \"otherstuff\" \"\${cf}\"
 
13400
runroot rpm -e configtest
 
13401
readlink \"\${cf}.rpmsave\"
 
13402
"
 
13403
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:95"
 
13404
( $at_check_trace;
 
13405
 
 
13406
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
13407
 
 
13408
 
 
13409
runroot rpm --initdb
 
13410
 
 
13411
cf="${RPMTEST}"/etc/my.conf
 
13412
rm -rf "${cf}" "${cf}".rpm*
 
13413
rm -rf "${TOPDIR}"
 
13414
 
 
13415
runroot rpmbuild --quiet -bb \
 
13416
        --define "ver 1.0" \
 
13417
        --define "filedata foo" \
 
13418
        --define "filetype link" \
 
13419
          /data/SPECS/configtest.spec
 
13420
 
 
13421
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13422
readlink "${cf}"
 
13423
ln -sf "otherstuff" "${cf}"
 
13424
runroot rpm -e configtest
 
13425
readlink "${cf}.rpmsave"
 
13426
 
 
13427
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
13428
at_status=$? at_failed=false
 
13429
$at_check_filter
 
13430
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
 
13431
" | \
 
13432
  $at_diff - "$at_stderr" || at_failed=:
 
13433
echo >>"$at_stdout"; $as_echo "foo
 
13434
otherstuff
 
13435
" | \
 
13436
  $at_diff - "$at_stdout" || at_failed=:
 
13437
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:95"
 
13438
$at_failed && at_fn_log_failure
 
13439
$at_traceon; }
 
13440
 
 
13441
  set +x
 
13442
  $at_times_p && times >"$at_times_file"
 
13443
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
13444
read at_status <"$at_status_file"
 
13445
#AT_STOP_214
 
13446
#AT_START_215
 
13447
at_fn_group_banner 215 'rpmconfig2.at:124' \
 
13448
  "upgrade unchanged config link" "                  " 13
 
13449
at_xfail=no
 
13450
(
 
13451
  $as_echo "215. $at_setup_line: testing $at_desc ..."
 
13452
  $at_traceon
 
13453
 
 
13454
 
 
13455
{ set +x
 
13456
$as_echo "$at_srcdir/rpmconfig2.at:126:
 
13457
 
 
13458
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
13459
 
 
13460
 
 
13461
runroot rpm --initdb
 
13462
 
 
13463
cf=\"\${RPMTEST}\"/etc/my.conf
 
13464
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
13465
rm -rf \"\${TOPDIR}\"
 
13466
 
 
13467
for v in \"1.0\" \"2.0\"; do
 
13468
    runroot rpmbuild --quiet -bb \\
 
13469
        --define \"ver \$v\" \\
 
13470
        --define \"filedata foo\" \\
 
13471
        --define \"filetype link\" \\
 
13472
          /data/SPECS/configtest.spec
 
13473
done
 
13474
 
 
13475
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13476
readlink \"\${cf}\"
 
13477
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
13478
readlink \"\${cf}\"
 
13479
"
 
13480
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:126"
 
13481
( $at_check_trace;
 
13482
 
 
13483
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
13484
 
 
13485
 
 
13486
runroot rpm --initdb
 
13487
 
 
13488
cf="${RPMTEST}"/etc/my.conf
 
13489
rm -rf "${cf}" "${cf}".rpm*
 
13490
rm -rf "${TOPDIR}"
 
13491
 
 
13492
for v in "1.0" "2.0"; do
 
13493
    runroot rpmbuild --quiet -bb \
 
13494
        --define "ver $v" \
 
13495
        --define "filedata foo" \
 
13496
        --define "filetype link" \
 
13497
          /data/SPECS/configtest.spec
 
13498
done
 
13499
 
 
13500
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13501
readlink "${cf}"
 
13502
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
13503
readlink "${cf}"
 
13504
 
 
13505
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
13506
at_status=$? at_failed=false
 
13507
$at_check_filter
 
13508
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
13509
echo >>"$at_stdout"; $as_echo "foo
 
13510
foo
 
13511
" | \
 
13512
  $at_diff - "$at_stdout" || at_failed=:
 
13513
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:126"
 
13514
$at_failed && at_fn_log_failure
 
13515
$at_traceon; }
 
13516
 
 
13517
  set +x
 
13518
  $at_times_p && times >"$at_times_file"
 
13519
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
13520
read at_status <"$at_status_file"
 
13521
#AT_STOP_215
 
13522
#AT_START_216
 
13523
at_fn_group_banner 216 'rpmconfig2.at:156' \
 
13524
  "upgrade modified config link" "                   " 13
 
13525
at_xfail=no
 
13526
(
 
13527
  $as_echo "216. $at_setup_line: testing $at_desc ..."
 
13528
  $at_traceon
 
13529
 
 
13530
 
 
13531
{ set +x
 
13532
$as_echo "$at_srcdir/rpmconfig2.at:158:
 
13533
 
 
13534
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
13535
 
 
13536
 
 
13537
runroot rpm --initdb
 
13538
 
 
13539
cf=\"\${RPMTEST}\"/etc/my.conf
 
13540
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
13541
rm -rf \"\${TOPDIR}\"
 
13542
 
 
13543
for v in \"1.0\" \"2.0\"; do
 
13544
    runroot rpmbuild --quiet -bb \\
 
13545
        --define \"ver \$v\" \\
 
13546
        --define \"filedata foo\" \\
 
13547
        --define \"filetype link\" \\
 
13548
          /data/SPECS/configtest.spec
 
13549
done
 
13550
 
 
13551
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13552
readlink \"\${cf}\"
 
13553
ln -sf \"otherstuff\" \"\${cf}\"
 
13554
readlink \"\${cf}\"
 
13555
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
13556
readlink \"\${cf}\"
 
13557
"
 
13558
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:158"
 
13559
( $at_check_trace;
 
13560
 
 
13561
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
13562
 
 
13563
 
 
13564
runroot rpm --initdb
 
13565
 
 
13566
cf="${RPMTEST}"/etc/my.conf
 
13567
rm -rf "${cf}" "${cf}".rpm*
 
13568
rm -rf "${TOPDIR}"
 
13569
 
 
13570
for v in "1.0" "2.0"; do
 
13571
    runroot rpmbuild --quiet -bb \
 
13572
        --define "ver $v" \
 
13573
        --define "filedata foo" \
 
13574
        --define "filetype link" \
 
13575
          /data/SPECS/configtest.spec
 
13576
done
 
13577
 
 
13578
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13579
readlink "${cf}"
 
13580
ln -sf "otherstuff" "${cf}"
 
13581
readlink "${cf}"
 
13582
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
13583
readlink "${cf}"
 
13584
 
 
13585
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
13586
at_status=$? at_failed=false
 
13587
$at_check_filter
 
13588
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
13589
echo >>"$at_stdout"; $as_echo "foo
 
13590
otherstuff
 
13591
otherstuff
 
13592
" | \
 
13593
  $at_diff - "$at_stdout" || at_failed=:
 
13594
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:158"
 
13595
$at_failed && at_fn_log_failure
 
13596
$at_traceon; }
 
13597
 
 
13598
  set +x
 
13599
  $at_times_p && times >"$at_times_file"
 
13600
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
13601
read at_status <"$at_status_file"
 
13602
#AT_STOP_216
 
13603
#AT_START_217
 
13604
at_fn_group_banner 217 'rpmconfig2.at:190' \
 
13605
  "upgrade changing config link" "                   " 13
 
13606
at_xfail=no
 
13607
(
 
13608
  $as_echo "217. $at_setup_line: testing $at_desc ..."
 
13609
  $at_traceon
 
13610
 
 
13611
 
 
13612
{ set +x
 
13613
$as_echo "$at_srcdir/rpmconfig2.at:192:
 
13614
 
 
13615
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
13616
 
 
13617
 
 
13618
runroot rpm --initdb
 
13619
 
 
13620
cf=\"\${RPMTEST}\"/etc/my.conf
 
13621
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
13622
rm -rf \"\${TOPDIR}\"
 
13623
 
 
13624
for v in \"1.0\" \"2.0\"; do
 
13625
    runroot rpmbuild --quiet -bb \\
 
13626
        --define \"ver \$v\" \\
 
13627
        --define \"filedata foo-\$v\" \\
 
13628
        --define \"filetype link\" \\
 
13629
          /data/SPECS/configtest.spec
 
13630
done
 
13631
 
 
13632
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13633
readlink \"\${cf}\"
 
13634
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
13635
readlink \"\${cf}\"
 
13636
"
 
13637
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:192"
 
13638
( $at_check_trace;
 
13639
 
 
13640
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
13641
 
 
13642
 
 
13643
runroot rpm --initdb
 
13644
 
 
13645
cf="${RPMTEST}"/etc/my.conf
 
13646
rm -rf "${cf}" "${cf}".rpm*
 
13647
rm -rf "${TOPDIR}"
 
13648
 
 
13649
for v in "1.0" "2.0"; do
 
13650
    runroot rpmbuild --quiet -bb \
 
13651
        --define "ver $v" \
 
13652
        --define "filedata foo-$v" \
 
13653
        --define "filetype link" \
 
13654
          /data/SPECS/configtest.spec
 
13655
done
 
13656
 
 
13657
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13658
readlink "${cf}"
 
13659
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
13660
readlink "${cf}"
 
13661
 
 
13662
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
13663
at_status=$? at_failed=false
 
13664
$at_check_filter
 
13665
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
13666
echo >>"$at_stdout"; $as_echo "foo-1.0
 
13667
foo-2.0
 
13668
" | \
 
13669
  $at_diff - "$at_stdout" || at_failed=:
 
13670
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:192"
 
13671
$at_failed && at_fn_log_failure
 
13672
$at_traceon; }
 
13673
 
 
13674
  set +x
 
13675
  $at_times_p && times >"$at_times_file"
 
13676
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
13677
read at_status <"$at_status_file"
 
13678
#AT_STOP_217
 
13679
#AT_START_218
 
13680
at_fn_group_banner 218 'rpmconfig2.at:221' \
 
13681
  "upgrade changing, modified config link 1" "       " 13
 
13682
at_xfail=no
 
13683
(
 
13684
  $as_echo "218. $at_setup_line: testing $at_desc ..."
 
13685
  $at_traceon
 
13686
 
 
13687
 
 
13688
{ set +x
 
13689
$as_echo "$at_srcdir/rpmconfig2.at:223:
 
13690
 
 
13691
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
13692
 
 
13693
 
 
13694
runroot rpm --initdb
 
13695
 
 
13696
cf=\"\${RPMTEST}\"/etc/my.conf
 
13697
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
13698
rm -rf \"\${TOPDIR}\"
 
13699
 
 
13700
for v in \"1.0\" \"2.0\"; do
 
13701
    runroot rpmbuild --quiet -bb \\
 
13702
        --define \"ver \$v\" \\
 
13703
        --define \"filedata foo-\$v\" \\
 
13704
        --define \"filetype link\" \\
 
13705
          /data/SPECS/configtest.spec
 
13706
done
 
13707
 
 
13708
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13709
readlink \"\${cf}\"
 
13710
ln -sf \"otherstuff\" \"\${cf}\"
 
13711
readlink \"\${cf}\"
 
13712
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
13713
readlink \"\${cf}\"
 
13714
readlink \"\${cf}.rpmsave\"
 
13715
"
 
13716
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:223"
 
13717
( $at_check_trace;
 
13718
 
 
13719
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
13720
 
 
13721
 
 
13722
runroot rpm --initdb
 
13723
 
 
13724
cf="${RPMTEST}"/etc/my.conf
 
13725
rm -rf "${cf}" "${cf}".rpm*
 
13726
rm -rf "${TOPDIR}"
 
13727
 
 
13728
for v in "1.0" "2.0"; do
 
13729
    runroot rpmbuild --quiet -bb \
 
13730
        --define "ver $v" \
 
13731
        --define "filedata foo-$v" \
 
13732
        --define "filetype link" \
 
13733
          /data/SPECS/configtest.spec
 
13734
done
 
13735
 
 
13736
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13737
readlink "${cf}"
 
13738
ln -sf "otherstuff" "${cf}"
 
13739
readlink "${cf}"
 
13740
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
13741
readlink "${cf}"
 
13742
readlink "${cf}.rpmsave"
 
13743
 
 
13744
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
13745
at_status=$? at_failed=false
 
13746
$at_check_filter
 
13747
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
 
13748
" | \
 
13749
  $at_diff - "$at_stderr" || at_failed=:
 
13750
echo >>"$at_stdout"; $as_echo "foo-1.0
 
13751
otherstuff
 
13752
foo-2.0
 
13753
otherstuff
 
13754
" | \
 
13755
  $at_diff - "$at_stdout" || at_failed=:
 
13756
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:223"
 
13757
$at_failed && at_fn_log_failure
 
13758
$at_traceon; }
 
13759
 
 
13760
  set +x
 
13761
  $at_times_p && times >"$at_times_file"
 
13762
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
13763
read at_status <"$at_status_file"
 
13764
#AT_STOP_218
 
13765
#AT_START_219
 
13766
at_fn_group_banner 219 'rpmconfig2.at:258' \
 
13767
  "upgrade changing, modified config link 2" "       " 13
 
13768
at_xfail=no
 
13769
(
 
13770
  $as_echo "219. $at_setup_line: testing $at_desc ..."
 
13771
  $at_traceon
 
13772
 
 
13773
 
 
13774
{ set +x
 
13775
$as_echo "$at_srcdir/rpmconfig2.at:260:
 
13776
 
 
13777
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
13778
 
 
13779
 
 
13780
runroot rpm --initdb
 
13781
 
 
13782
cf=\"\${RPMTEST}\"/etc/my.conf
 
13783
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
13784
rm -rf \"\${TOPDIR}\"
 
13785
 
 
13786
for v in \"1.0\" \"2.0\"; do
 
13787
    runroot rpmbuild --quiet -bb \\
 
13788
        --define \"ver \$v\" \\
 
13789
        --define \"filedata foo-\$v\" \\
 
13790
        --define \"filetype link\" \\
 
13791
          /data/SPECS/configtest.spec
 
13792
done
 
13793
 
 
13794
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13795
readlink \"\${cf}\"
 
13796
ln -sf \"foo-2.0\" \"\${cf}\"
 
13797
readlink \"\${cf}\"
 
13798
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
13799
readlink \"\${cf}\"
 
13800
"
 
13801
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:260"
 
13802
( $at_check_trace;
 
13803
 
 
13804
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
13805
 
 
13806
 
 
13807
runroot rpm --initdb
 
13808
 
 
13809
cf="${RPMTEST}"/etc/my.conf
 
13810
rm -rf "${cf}" "${cf}".rpm*
 
13811
rm -rf "${TOPDIR}"
 
13812
 
 
13813
for v in "1.0" "2.0"; do
 
13814
    runroot rpmbuild --quiet -bb \
 
13815
        --define "ver $v" \
 
13816
        --define "filedata foo-$v" \
 
13817
        --define "filetype link" \
 
13818
          /data/SPECS/configtest.spec
 
13819
done
 
13820
 
 
13821
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13822
readlink "${cf}"
 
13823
ln -sf "foo-2.0" "${cf}"
 
13824
readlink "${cf}"
 
13825
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
13826
readlink "${cf}"
 
13827
 
 
13828
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
13829
at_status=$? at_failed=false
 
13830
$at_check_filter
 
13831
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
13832
echo >>"$at_stdout"; $as_echo "foo-1.0
 
13833
foo-2.0
 
13834
foo-2.0
 
13835
" | \
 
13836
  $at_diff - "$at_stdout" || at_failed=:
 
13837
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:260"
 
13838
$at_failed && at_fn_log_failure
 
13839
$at_traceon; }
 
13840
 
 
13841
  set +x
 
13842
  $at_times_p && times >"$at_times_file"
 
13843
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
13844
read at_status <"$at_status_file"
 
13845
#AT_STOP_219
 
13846
#AT_START_220
 
13847
at_fn_group_banner 220 'rpmconfig2.at:294' \
 
13848
  "upgrade unchanged config(noreplace) link" "       " 13
 
13849
at_xfail=no
 
13850
(
 
13851
  $as_echo "220. $at_setup_line: testing $at_desc ..."
 
13852
  $at_traceon
 
13853
 
 
13854
 
 
13855
{ set +x
 
13856
$as_echo "$at_srcdir/rpmconfig2.at:296:
 
13857
 
 
13858
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
13859
 
 
13860
 
 
13861
runroot rpm --initdb
 
13862
 
 
13863
cf=\"\${RPMTEST}\"/etc/my.conf
 
13864
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
13865
rm -rf \"\${TOPDIR}\"
 
13866
 
 
13867
for v in \"1.0\" \"2.0\"; do
 
13868
    runroot rpmbuild --quiet -bb \\
 
13869
        --define \"ver \$v\" \\
 
13870
        --define \"filedata foo\" \\
 
13871
        --define \"filetype link\" \\
 
13872
        --define \"noreplace 1\" \\
 
13873
          /data/SPECS/configtest.spec
 
13874
done
 
13875
 
 
13876
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13877
readlink \"\${cf}\"
 
13878
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
13879
readlink \"\${cf}\"
 
13880
"
 
13881
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:296"
 
13882
( $at_check_trace;
 
13883
 
 
13884
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
13885
 
 
13886
 
 
13887
runroot rpm --initdb
 
13888
 
 
13889
cf="${RPMTEST}"/etc/my.conf
 
13890
rm -rf "${cf}" "${cf}".rpm*
 
13891
rm -rf "${TOPDIR}"
 
13892
 
 
13893
for v in "1.0" "2.0"; do
 
13894
    runroot rpmbuild --quiet -bb \
 
13895
        --define "ver $v" \
 
13896
        --define "filedata foo" \
 
13897
        --define "filetype link" \
 
13898
        --define "noreplace 1" \
 
13899
          /data/SPECS/configtest.spec
 
13900
done
 
13901
 
 
13902
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13903
readlink "${cf}"
 
13904
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
13905
readlink "${cf}"
 
13906
 
 
13907
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
13908
at_status=$? at_failed=false
 
13909
$at_check_filter
 
13910
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
13911
echo >>"$at_stdout"; $as_echo "foo
 
13912
foo
 
13913
" | \
 
13914
  $at_diff - "$at_stdout" || at_failed=:
 
13915
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:296"
 
13916
$at_failed && at_fn_log_failure
 
13917
$at_traceon; }
 
13918
 
 
13919
  set +x
 
13920
  $at_times_p && times >"$at_times_file"
 
13921
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
13922
read at_status <"$at_status_file"
 
13923
#AT_STOP_220
 
13924
#AT_START_221
 
13925
at_fn_group_banner 221 'rpmconfig2.at:327' \
 
13926
  "upgrade modified config(noreplace) link" "        " 13
 
13927
at_xfail=no
 
13928
(
 
13929
  $as_echo "221. $at_setup_line: testing $at_desc ..."
 
13930
  $at_traceon
 
13931
 
 
13932
 
 
13933
{ set +x
 
13934
$as_echo "$at_srcdir/rpmconfig2.at:329:
 
13935
 
 
13936
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
13937
 
 
13938
 
 
13939
runroot rpm --initdb
 
13940
 
 
13941
cf=\"\${RPMTEST}\"/etc/my.conf
 
13942
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
13943
rm -rf \"\${TOPDIR}\"
 
13944
 
 
13945
for v in \"1.0\" \"2.0\"; do
 
13946
    runroot rpmbuild --quiet -bb \\
 
13947
        --define \"ver \$v\" \\
 
13948
        --define \"filedata foo\" \\
 
13949
        --define \"filetype link\" \\
 
13950
        --define \"noreplace 1\" \\
 
13951
          /data/SPECS/configtest.spec
 
13952
done
 
13953
 
 
13954
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13955
readlink \"\${cf}\"
 
13956
ln -sf \"otherstuff\" \"\${cf}\"
 
13957
readlink \"\${cf}\"
 
13958
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
13959
readlink \"\${cf}\"
 
13960
"
 
13961
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:329"
 
13962
( $at_check_trace;
 
13963
 
 
13964
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
13965
 
 
13966
 
 
13967
runroot rpm --initdb
 
13968
 
 
13969
cf="${RPMTEST}"/etc/my.conf
 
13970
rm -rf "${cf}" "${cf}".rpm*
 
13971
rm -rf "${TOPDIR}"
 
13972
 
 
13973
for v in "1.0" "2.0"; do
 
13974
    runroot rpmbuild --quiet -bb \
 
13975
        --define "ver $v" \
 
13976
        --define "filedata foo" \
 
13977
        --define "filetype link" \
 
13978
        --define "noreplace 1" \
 
13979
          /data/SPECS/configtest.spec
 
13980
done
 
13981
 
 
13982
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
13983
readlink "${cf}"
 
13984
ln -sf "otherstuff" "${cf}"
 
13985
readlink "${cf}"
 
13986
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
13987
readlink "${cf}"
 
13988
 
 
13989
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
13990
at_status=$? at_failed=false
 
13991
$at_check_filter
 
13992
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
13993
echo >>"$at_stdout"; $as_echo "foo
 
13994
otherstuff
 
13995
otherstuff
 
13996
" | \
 
13997
  $at_diff - "$at_stdout" || at_failed=:
 
13998
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:329"
 
13999
$at_failed && at_fn_log_failure
 
14000
$at_traceon; }
 
14001
 
 
14002
  set +x
 
14003
  $at_times_p && times >"$at_times_file"
 
14004
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
14005
read at_status <"$at_status_file"
 
14006
#AT_STOP_221
 
14007
#AT_START_222
 
14008
at_fn_group_banner 222 'rpmconfig2.at:362' \
 
14009
  "upgrade changing config(noreplace) link" "        " 13
 
14010
at_xfail=no
 
14011
(
 
14012
  $as_echo "222. $at_setup_line: testing $at_desc ..."
 
14013
  $at_traceon
 
14014
 
 
14015
 
 
14016
{ set +x
 
14017
$as_echo "$at_srcdir/rpmconfig2.at:364:
 
14018
 
 
14019
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
14020
 
 
14021
 
 
14022
runroot rpm --initdb
 
14023
 
 
14024
cf=\"\${RPMTEST}\"/etc/my.conf
 
14025
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
14026
rm -rf \"\${TOPDIR}\"
 
14027
 
 
14028
for v in \"1.0\" \"2.0\"; do
 
14029
    runroot rpmbuild --quiet -bb \\
 
14030
        --define \"ver \$v\" \\
 
14031
        --define \"filedata foo-\$v\" \\
 
14032
        --define \"filetype link\" \\
 
14033
        --define \"noreplace 1\" \\
 
14034
          /data/SPECS/configtest.spec
 
14035
done
 
14036
 
 
14037
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
14038
readlink \"\${cf}\"
 
14039
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
14040
readlink \"\${cf}\"
 
14041
"
 
14042
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:364"
 
14043
( $at_check_trace;
 
14044
 
 
14045
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
14046
 
 
14047
 
 
14048
runroot rpm --initdb
 
14049
 
 
14050
cf="${RPMTEST}"/etc/my.conf
 
14051
rm -rf "${cf}" "${cf}".rpm*
 
14052
rm -rf "${TOPDIR}"
 
14053
 
 
14054
for v in "1.0" "2.0"; do
 
14055
    runroot rpmbuild --quiet -bb \
 
14056
        --define "ver $v" \
 
14057
        --define "filedata foo-$v" \
 
14058
        --define "filetype link" \
 
14059
        --define "noreplace 1" \
 
14060
          /data/SPECS/configtest.spec
 
14061
done
 
14062
 
 
14063
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
14064
readlink "${cf}"
 
14065
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
14066
readlink "${cf}"
 
14067
 
 
14068
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
14069
at_status=$? at_failed=false
 
14070
$at_check_filter
 
14071
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
14072
echo >>"$at_stdout"; $as_echo "foo-1.0
 
14073
foo-2.0
 
14074
" | \
 
14075
  $at_diff - "$at_stdout" || at_failed=:
 
14076
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:364"
 
14077
$at_failed && at_fn_log_failure
 
14078
$at_traceon; }
 
14079
 
 
14080
  set +x
 
14081
  $at_times_p && times >"$at_times_file"
 
14082
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
14083
read at_status <"$at_status_file"
 
14084
#AT_STOP_222
 
14085
#AT_START_223
 
14086
at_fn_group_banner 223 'rpmconfig2.at:394' \
 
14087
  "upgrade changing, modified config(noreplace) link 1" "" 13
 
14088
at_xfail=no
 
14089
(
 
14090
  $as_echo "223. $at_setup_line: testing $at_desc ..."
 
14091
  $at_traceon
 
14092
 
 
14093
 
 
14094
{ set +x
 
14095
$as_echo "$at_srcdir/rpmconfig2.at:396:
 
14096
 
 
14097
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
14098
 
 
14099
 
 
14100
runroot rpm --initdb
 
14101
 
 
14102
cf=\"\${RPMTEST}\"/etc/my.conf
 
14103
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
14104
rm -rf \"\${TOPDIR}\"
 
14105
 
 
14106
for v in \"1.0\" \"2.0\"; do
 
14107
    runroot rpmbuild --quiet -bb \\
 
14108
        --define \"ver \$v\" \\
 
14109
        --define \"filedata foo-\$v\" \\
 
14110
        --define \"filetype link\" \\
 
14111
        --define \"noreplace 1\" \\
 
14112
          /data/SPECS/configtest.spec
 
14113
done
 
14114
 
 
14115
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
14116
readlink \"\${cf}\"
 
14117
ln -sf \"otherstuff\" \"\${cf}\"
 
14118
readlink \"\${cf}\"
 
14119
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
14120
readlink \"\${cf}\"
 
14121
readlink \"\${cf}.rpmnew\"
 
14122
"
 
14123
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:396"
 
14124
( $at_check_trace;
 
14125
 
 
14126
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
14127
 
 
14128
 
 
14129
runroot rpm --initdb
 
14130
 
 
14131
cf="${RPMTEST}"/etc/my.conf
 
14132
rm -rf "${cf}" "${cf}".rpm*
 
14133
rm -rf "${TOPDIR}"
 
14134
 
 
14135
for v in "1.0" "2.0"; do
 
14136
    runroot rpmbuild --quiet -bb \
 
14137
        --define "ver $v" \
 
14138
        --define "filedata foo-$v" \
 
14139
        --define "filetype link" \
 
14140
        --define "noreplace 1" \
 
14141
          /data/SPECS/configtest.spec
 
14142
done
 
14143
 
 
14144
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
14145
readlink "${cf}"
 
14146
ln -sf "otherstuff" "${cf}"
 
14147
readlink "${cf}"
 
14148
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
14149
readlink "${cf}"
 
14150
readlink "${cf}.rpmnew"
 
14151
 
 
14152
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
14153
at_status=$? at_failed=false
 
14154
$at_check_filter
 
14155
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf created as /etc/my.conf.rpmnew
 
14156
" | \
 
14157
  $at_diff - "$at_stderr" || at_failed=:
 
14158
echo >>"$at_stdout"; $as_echo "foo-1.0
 
14159
otherstuff
 
14160
otherstuff
 
14161
foo-2.0
 
14162
" | \
 
14163
  $at_diff - "$at_stdout" || at_failed=:
 
14164
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:396"
 
14165
$at_failed && at_fn_log_failure
 
14166
$at_traceon; }
 
14167
 
 
14168
  set +x
 
14169
  $at_times_p && times >"$at_times_file"
 
14170
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
14171
read at_status <"$at_status_file"
 
14172
#AT_STOP_223
 
14173
#AT_START_224
 
14174
at_fn_group_banner 224 'rpmconfig2.at:432' \
 
14175
  "upgrade changing, modified config(noreplace) link 2" "" 13
 
14176
at_xfail=no
 
14177
(
 
14178
  $as_echo "224. $at_setup_line: testing $at_desc ..."
 
14179
  $at_traceon
 
14180
 
 
14181
 
 
14182
{ set +x
 
14183
$as_echo "$at_srcdir/rpmconfig2.at:434:
 
14184
 
 
14185
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
14186
 
 
14187
 
 
14188
runroot rpm --initdb
 
14189
 
 
14190
cf=\"\${RPMTEST}\"/etc/my.conf
 
14191
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
14192
rm -rf \"\${TOPDIR}\"
 
14193
 
 
14194
for v in \"1.0\" \"2.0\"; do
 
14195
    runroot rpmbuild --quiet -bb \\
 
14196
        --define \"ver \$v\" \\
 
14197
        --define \"filedata foo-\$v\" \\
 
14198
        --define \"filetype link\" \\
 
14199
        --define \"noreplace 1\" \\
 
14200
          /data/SPECS/configtest.spec
 
14201
done
 
14202
 
 
14203
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
14204
readlink \"\${cf}\"
 
14205
ln -sf \"foo-2.0\" \"\${cf}\"
 
14206
readlink \"\${cf}\"
 
14207
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
14208
readlink \"\${cf}\"
 
14209
test ! -L \"\${cf}.rpmnew\"
 
14210
"
 
14211
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:434"
 
14212
( $at_check_trace;
 
14213
 
 
14214
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
14215
 
 
14216
 
 
14217
runroot rpm --initdb
 
14218
 
 
14219
cf="${RPMTEST}"/etc/my.conf
 
14220
rm -rf "${cf}" "${cf}".rpm*
 
14221
rm -rf "${TOPDIR}"
 
14222
 
 
14223
for v in "1.0" "2.0"; do
 
14224
    runroot rpmbuild --quiet -bb \
 
14225
        --define "ver $v" \
 
14226
        --define "filedata foo-$v" \
 
14227
        --define "filetype link" \
 
14228
        --define "noreplace 1" \
 
14229
          /data/SPECS/configtest.spec
 
14230
done
 
14231
 
 
14232
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
14233
readlink "${cf}"
 
14234
ln -sf "foo-2.0" "${cf}"
 
14235
readlink "${cf}"
 
14236
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
14237
readlink "${cf}"
 
14238
test ! -L "${cf}.rpmnew"
 
14239
 
 
14240
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
14241
at_status=$? at_failed=false
 
14242
$at_check_filter
 
14243
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
14244
echo >>"$at_stdout"; $as_echo "foo-1.0
 
14245
foo-2.0
 
14246
foo-2.0
 
14247
" | \
 
14248
  $at_diff - "$at_stdout" || at_failed=:
 
14249
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:434"
 
14250
$at_failed && at_fn_log_failure
 
14251
$at_traceon; }
 
14252
 
 
14253
  set +x
 
14254
  $at_times_p && times >"$at_times_file"
 
14255
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
14256
read at_status <"$at_status_file"
 
14257
#AT_STOP_224
 
14258
#AT_START_225
 
14259
at_fn_group_banner 225 'rpmconfig2.at:469' \
 
14260
  "upgrade unchanged shared config link" "           " 13
 
14261
at_xfail=no
 
14262
(
 
14263
  $as_echo "225. $at_setup_line: testing $at_desc ..."
 
14264
  $at_traceon
 
14265
 
 
14266
 
 
14267
{ set +x
 
14268
$as_echo "$at_srcdir/rpmconfig2.at:471:
 
14269
 
 
14270
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
14271
 
 
14272
 
 
14273
runroot rpm --initdb
 
14274
 
 
14275
cf=\"\${RPMTEST}\"/etc/my.conf
 
14276
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
14277
rm -rf \"\${TOPDIR}\"
 
14278
 
 
14279
for s in \"A\" \"B\"; do
 
14280
    for v in \"1.0\" \"2.0\"; do
 
14281
        runroot rpmbuild --quiet -bb \\
 
14282
            --define \"sub \$s\" \\
 
14283
            --define \"ver \$v\" \\
 
14284
            --define \"filedata foo\" \\
 
14285
            --define \"filetype link\" \\
 
14286
              /data/SPECS/configtest.spec
 
14287
    done
 
14288
done
 
14289
 
 
14290
runroot rpm -U \\
 
14291
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
 
14292
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
14293
readlink \"\${cf}\"
 
14294
runroot rpm -U \\
 
14295
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
 
14296
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
14297
readlink \"\${cf}\"
 
14298
"
 
14299
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:471"
 
14300
( $at_check_trace;
 
14301
 
 
14302
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
14303
 
 
14304
 
 
14305
runroot rpm --initdb
 
14306
 
 
14307
cf="${RPMTEST}"/etc/my.conf
 
14308
rm -rf "${cf}" "${cf}".rpm*
 
14309
rm -rf "${TOPDIR}"
 
14310
 
 
14311
for s in "A" "B"; do
 
14312
    for v in "1.0" "2.0"; do
 
14313
        runroot rpmbuild --quiet -bb \
 
14314
            --define "sub $s" \
 
14315
            --define "ver $v" \
 
14316
            --define "filedata foo" \
 
14317
            --define "filetype link" \
 
14318
              /data/SPECS/configtest.spec
 
14319
    done
 
14320
done
 
14321
 
 
14322
runroot rpm -U \
 
14323
    "${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
 
14324
    "${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
14325
readlink "${cf}"
 
14326
runroot rpm -U \
 
14327
    "${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
 
14328
    "${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
14329
readlink "${cf}"
 
14330
 
 
14331
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
14332
at_status=$? at_failed=false
 
14333
$at_check_filter
 
14334
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
14335
echo >>"$at_stdout"; $as_echo "foo
 
14336
foo
 
14337
" | \
 
14338
  $at_diff - "$at_stdout" || at_failed=:
 
14339
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:471"
 
14340
$at_failed && at_fn_log_failure
 
14341
$at_traceon; }
 
14342
 
 
14343
 
 
14344
  set +x
 
14345
  $at_times_p && times >"$at_times_file"
 
14346
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
14347
read at_status <"$at_status_file"
 
14348
#AT_STOP_225
 
14349
#AT_START_226
 
14350
at_fn_group_banner 226 'rpmconfig2.at:508' \
 
14351
  "upgrade modified shared config link" "            " 13
 
14352
at_xfail=no
 
14353
(
 
14354
  $as_echo "226. $at_setup_line: testing $at_desc ..."
 
14355
  $at_traceon
 
14356
 
 
14357
 
 
14358
{ set +x
 
14359
$as_echo "$at_srcdir/rpmconfig2.at:510:
 
14360
 
 
14361
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
14362
 
 
14363
 
 
14364
runroot rpm --initdb
 
14365
 
 
14366
cf=\"\${RPMTEST}\"/etc/my.conf
 
14367
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
14368
rm -rf \"\${TOPDIR}\"
 
14369
 
 
14370
for s in \"A\" \"B\"; do
 
14371
    for v in \"1.0\" \"2.0\"; do
 
14372
        runroot rpmbuild --quiet -bb \\
 
14373
            --define \"sub \$s\" \\
 
14374
            --define \"ver \$v\" \\
 
14375
            --define \"filedata foo\" \\
 
14376
            --define \"filetype link\" \\
 
14377
              /data/SPECS/configtest.spec
 
14378
    done
 
14379
done
 
14380
 
 
14381
runroot rpm -U \\
 
14382
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
 
14383
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
14384
readlink \"\${cf}\"
 
14385
ln -sf \"otherstuff\" \"\${cf}\"
 
14386
readlink \"\${cf}\"
 
14387
runroot rpm -U \\
 
14388
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
 
14389
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
14390
readlink \"\${cf}\"
 
14391
"
 
14392
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:510"
 
14393
( $at_check_trace;
 
14394
 
 
14395
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
14396
 
 
14397
 
 
14398
runroot rpm --initdb
 
14399
 
 
14400
cf="${RPMTEST}"/etc/my.conf
 
14401
rm -rf "${cf}" "${cf}".rpm*
 
14402
rm -rf "${TOPDIR}"
 
14403
 
 
14404
for s in "A" "B"; do
 
14405
    for v in "1.0" "2.0"; do
 
14406
        runroot rpmbuild --quiet -bb \
 
14407
            --define "sub $s" \
 
14408
            --define "ver $v" \
 
14409
            --define "filedata foo" \
 
14410
            --define "filetype link" \
 
14411
              /data/SPECS/configtest.spec
 
14412
    done
 
14413
done
 
14414
 
 
14415
runroot rpm -U \
 
14416
    "${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
 
14417
    "${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
14418
readlink "${cf}"
 
14419
ln -sf "otherstuff" "${cf}"
 
14420
readlink "${cf}"
 
14421
runroot rpm -U \
 
14422
    "${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
 
14423
    "${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
14424
readlink "${cf}"
 
14425
 
 
14426
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
14427
at_status=$? at_failed=false
 
14428
$at_check_filter
 
14429
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
14430
echo >>"$at_stdout"; $as_echo "foo
 
14431
otherstuff
 
14432
otherstuff
 
14433
" | \
 
14434
  $at_diff - "$at_stdout" || at_failed=:
 
14435
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:510"
 
14436
$at_failed && at_fn_log_failure
 
14437
$at_traceon; }
 
14438
 
 
14439
  set +x
 
14440
  $at_times_p && times >"$at_times_file"
 
14441
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
14442
read at_status <"$at_status_file"
 
14443
#AT_STOP_226
 
14444
#AT_START_227
 
14445
at_fn_group_banner 227 'rpmconfig2.at:549' \
 
14446
  "upgrade changing shared config link" "            " 13
 
14447
at_xfail=no
 
14448
(
 
14449
  $as_echo "227. $at_setup_line: testing $at_desc ..."
 
14450
  $at_traceon
 
14451
 
 
14452
 
 
14453
{ set +x
 
14454
$as_echo "$at_srcdir/rpmconfig2.at:551:
 
14455
 
 
14456
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
14457
 
 
14458
 
 
14459
runroot rpm --initdb
 
14460
 
 
14461
cf=\"\${RPMTEST}\"/etc/my.conf
 
14462
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
14463
rm -rf \"\${TOPDIR}\"
 
14464
 
 
14465
for s in \"A\" \"B\"; do
 
14466
    for v in \"1.0\" \"2.0\"; do
 
14467
        runroot rpmbuild --quiet -bb \\
 
14468
            --define \"sub \$s\" \\
 
14469
            --define \"ver \$v\" \\
 
14470
            --define \"filedata foo-\$v\" \\
 
14471
            --define \"filetype link\" \\
 
14472
              /data/SPECS/configtest.spec
 
14473
    done
 
14474
done
 
14475
 
 
14476
runroot rpm -U \\
 
14477
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
 
14478
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
14479
readlink \"\${cf}\"
 
14480
runroot rpm -U \\
 
14481
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
 
14482
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
14483
readlink \"\${cf}\"
 
14484
"
 
14485
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:551"
 
14486
( $at_check_trace;
 
14487
 
 
14488
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
14489
 
 
14490
 
 
14491
runroot rpm --initdb
 
14492
 
 
14493
cf="${RPMTEST}"/etc/my.conf
 
14494
rm -rf "${cf}" "${cf}".rpm*
 
14495
rm -rf "${TOPDIR}"
 
14496
 
 
14497
for s in "A" "B"; do
 
14498
    for v in "1.0" "2.0"; do
 
14499
        runroot rpmbuild --quiet -bb \
 
14500
            --define "sub $s" \
 
14501
            --define "ver $v" \
 
14502
            --define "filedata foo-$v" \
 
14503
            --define "filetype link" \
 
14504
              /data/SPECS/configtest.spec
 
14505
    done
 
14506
done
 
14507
 
 
14508
runroot rpm -U \
 
14509
    "${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
 
14510
    "${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
14511
readlink "${cf}"
 
14512
runroot rpm -U \
 
14513
    "${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
 
14514
    "${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
14515
readlink "${cf}"
 
14516
 
 
14517
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
14518
at_status=$? at_failed=false
 
14519
$at_check_filter
 
14520
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
14521
echo >>"$at_stdout"; $as_echo "foo-1.0
 
14522
foo-2.0
 
14523
" | \
 
14524
  $at_diff - "$at_stdout" || at_failed=:
 
14525
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:551"
 
14526
$at_failed && at_fn_log_failure
 
14527
$at_traceon; }
 
14528
 
 
14529
  set +x
 
14530
  $at_times_p && times >"$at_times_file"
 
14531
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
14532
read at_status <"$at_status_file"
 
14533
#AT_STOP_227
 
14534
#AT_START_228
 
14535
at_fn_group_banner 228 'rpmconfig2.at:587' \
 
14536
  "upgrade changing, modified shared config link 1" "" 13
 
14537
at_xfail=no
 
14538
(
 
14539
  $as_echo "228. $at_setup_line: testing $at_desc ..."
 
14540
  $at_traceon
 
14541
 
 
14542
 
 
14543
{ set +x
 
14544
$as_echo "$at_srcdir/rpmconfig2.at:589:
 
14545
 
 
14546
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
14547
 
 
14548
 
 
14549
runroot rpm --initdb
 
14550
 
 
14551
cf=\"\${RPMTEST}\"/etc/my.conf
 
14552
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
14553
rm -rf \"\${TOPDIR}\"
 
14554
 
 
14555
for s in \"A\" \"B\"; do
 
14556
    for v in \"1.0\" \"2.0\"; do
 
14557
        runroot rpmbuild --quiet -bb \\
 
14558
            --define \"sub \$s\" \\
 
14559
            --define \"ver \$v\" \\
 
14560
            --define \"filedata foo-\$v\" \\
 
14561
            --define \"filetype link\" \\
 
14562
              /data/SPECS/configtest.spec
 
14563
    done
 
14564
done
 
14565
 
 
14566
runroot rpm -U \\
 
14567
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
 
14568
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
14569
readlink \"\${cf}\"
 
14570
ln -sf \"otherstuff\" \"\${cf}\"
 
14571
readlink \"\${cf}\"
 
14572
runroot rpm -U \\
 
14573
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
 
14574
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
14575
readlink \"\${cf}\"
 
14576
readlink \"\${cf}.rpmsave\"
 
14577
"
 
14578
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:589"
 
14579
( $at_check_trace;
 
14580
 
 
14581
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
14582
 
 
14583
 
 
14584
runroot rpm --initdb
 
14585
 
 
14586
cf="${RPMTEST}"/etc/my.conf
 
14587
rm -rf "${cf}" "${cf}".rpm*
 
14588
rm -rf "${TOPDIR}"
 
14589
 
 
14590
for s in "A" "B"; do
 
14591
    for v in "1.0" "2.0"; do
 
14592
        runroot rpmbuild --quiet -bb \
 
14593
            --define "sub $s" \
 
14594
            --define "ver $v" \
 
14595
            --define "filedata foo-$v" \
 
14596
            --define "filetype link" \
 
14597
              /data/SPECS/configtest.spec
 
14598
    done
 
14599
done
 
14600
 
 
14601
runroot rpm -U \
 
14602
    "${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
 
14603
    "${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
14604
readlink "${cf}"
 
14605
ln -sf "otherstuff" "${cf}"
 
14606
readlink "${cf}"
 
14607
runroot rpm -U \
 
14608
    "${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
 
14609
    "${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
14610
readlink "${cf}"
 
14611
readlink "${cf}.rpmsave"
 
14612
 
 
14613
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
14614
at_status=$? at_failed=false
 
14615
$at_check_filter
 
14616
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
 
14617
" | \
 
14618
  $at_diff - "$at_stderr" || at_failed=:
 
14619
echo >>"$at_stdout"; $as_echo "foo-1.0
 
14620
otherstuff
 
14621
foo-2.0
 
14622
otherstuff
 
14623
" | \
 
14624
  $at_diff - "$at_stdout" || at_failed=:
 
14625
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:589"
 
14626
$at_failed && at_fn_log_failure
 
14627
$at_traceon; }
 
14628
 
 
14629
  set +x
 
14630
  $at_times_p && times >"$at_times_file"
 
14631
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
14632
read at_status <"$at_status_file"
 
14633
#AT_STOP_228
 
14634
#AT_START_229
 
14635
at_fn_group_banner 229 'rpmconfig2.at:631' \
 
14636
  "upgrade changing, modified shared config link 2" "" 13
 
14637
at_xfail=no
 
14638
(
 
14639
  $as_echo "229. $at_setup_line: testing $at_desc ..."
 
14640
  $at_traceon
 
14641
 
 
14642
 
 
14643
{ set +x
 
14644
$as_echo "$at_srcdir/rpmconfig2.at:633:
 
14645
 
 
14646
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
14647
 
 
14648
 
 
14649
runroot rpm --initdb
 
14650
 
 
14651
cf=\"\${RPMTEST}\"/etc/my.conf
 
14652
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
14653
rm -rf \"\${TOPDIR}\"
 
14654
 
 
14655
for s in \"A\" \"B\"; do
 
14656
    for v in \"1.0\" \"2.0\"; do
 
14657
        runroot rpmbuild --quiet -bb \\
 
14658
            --define \"sub \$s\" \\
 
14659
            --define \"ver \$v\" \\
 
14660
            --define \"filedata foo-\$v\" \\
 
14661
            --define \"filetype link\" \\
 
14662
              /data/SPECS/configtest.spec
 
14663
    done
 
14664
done
 
14665
 
 
14666
runroot rpm -U \\
 
14667
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
 
14668
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
14669
readlink \"\${cf}\"
 
14670
ln -sf \"foo-2.0\" \"\${cf}\"
 
14671
readlink \"\${cf}\"
 
14672
runroot rpm -U \\
 
14673
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
 
14674
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
14675
readlink \"\${cf}\"
 
14676
"
 
14677
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:633"
 
14678
( $at_check_trace;
 
14679
 
 
14680
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
14681
 
 
14682
 
 
14683
runroot rpm --initdb
 
14684
 
 
14685
cf="${RPMTEST}"/etc/my.conf
 
14686
rm -rf "${cf}" "${cf}".rpm*
 
14687
rm -rf "${TOPDIR}"
 
14688
 
 
14689
for s in "A" "B"; do
 
14690
    for v in "1.0" "2.0"; do
 
14691
        runroot rpmbuild --quiet -bb \
 
14692
            --define "sub $s" \
 
14693
            --define "ver $v" \
 
14694
            --define "filedata foo-$v" \
 
14695
            --define "filetype link" \
 
14696
              /data/SPECS/configtest.spec
 
14697
    done
 
14698
done
 
14699
 
 
14700
runroot rpm -U \
 
14701
    "${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
 
14702
    "${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
14703
readlink "${cf}"
 
14704
ln -sf "foo-2.0" "${cf}"
 
14705
readlink "${cf}"
 
14706
runroot rpm -U \
 
14707
    "${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
 
14708
    "${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
14709
readlink "${cf}"
 
14710
 
 
14711
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
14712
at_status=$? at_failed=false
 
14713
$at_check_filter
 
14714
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
14715
echo >>"$at_stdout"; $as_echo "foo-1.0
 
14716
foo-2.0
 
14717
foo-2.0
 
14718
" | \
 
14719
  $at_diff - "$at_stdout" || at_failed=:
 
14720
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:633"
 
14721
$at_failed && at_fn_log_failure
 
14722
$at_traceon; }
 
14723
 
 
14724
  set +x
 
14725
  $at_times_p && times >"$at_times_file"
 
14726
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
14727
read at_status <"$at_status_file"
 
14728
#AT_STOP_229
 
14729
#AT_START_230
 
14730
at_fn_group_banner 230 'rpmconfig2.at:673' \
 
14731
  "upgrade changing, modified shared config(noreplace) link 1" "" 13
 
14732
at_xfail=no
 
14733
(
 
14734
  $as_echo "230. $at_setup_line: testing $at_desc ..."
 
14735
  $at_traceon
 
14736
 
 
14737
 
 
14738
{ set +x
 
14739
$as_echo "$at_srcdir/rpmconfig2.at:675:
 
14740
 
 
14741
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
14742
 
 
14743
 
 
14744
runroot rpm --initdb
 
14745
 
 
14746
cf=\"\${RPMTEST}\"/etc/my.conf
 
14747
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
14748
rm -rf \"\${TOPDIR}\"
 
14749
 
 
14750
for s in \"A\" \"B\"; do
 
14751
    for v in \"1.0\" \"2.0\"; do
 
14752
        runroot rpmbuild --quiet -bb \\
 
14753
            --define \"sub \$s\" \\
 
14754
            --define \"ver \$v\" \\
 
14755
            --define \"filedata foo-\$v\" \\
 
14756
            --define \"filetype link\" \\
 
14757
            --define \"noreplace 1\" \\
 
14758
              /data/SPECS/configtest.spec
 
14759
    done
 
14760
done
 
14761
 
 
14762
runroot rpm -U \\
 
14763
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
 
14764
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
14765
readlink \"\${cf}\"
 
14766
ln -sf \"otherstuff\" \"\${cf}\"
 
14767
readlink \"\${cf}\"
 
14768
runroot rpm -U \\
 
14769
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
 
14770
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
14771
readlink \"\${cf}\"
 
14772
readlink \"\${cf}.rpmnew\"
 
14773
"
 
14774
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:675"
 
14775
( $at_check_trace;
 
14776
 
 
14777
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
14778
 
 
14779
 
 
14780
runroot rpm --initdb
 
14781
 
 
14782
cf="${RPMTEST}"/etc/my.conf
 
14783
rm -rf "${cf}" "${cf}".rpm*
 
14784
rm -rf "${TOPDIR}"
 
14785
 
 
14786
for s in "A" "B"; do
 
14787
    for v in "1.0" "2.0"; do
 
14788
        runroot rpmbuild --quiet -bb \
 
14789
            --define "sub $s" \
 
14790
            --define "ver $v" \
 
14791
            --define "filedata foo-$v" \
 
14792
            --define "filetype link" \
 
14793
            --define "noreplace 1" \
 
14794
              /data/SPECS/configtest.spec
 
14795
    done
 
14796
done
 
14797
 
 
14798
runroot rpm -U \
 
14799
    "${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
 
14800
    "${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
14801
readlink "${cf}"
 
14802
ln -sf "otherstuff" "${cf}"
 
14803
readlink "${cf}"
 
14804
runroot rpm -U \
 
14805
    "${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
 
14806
    "${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
14807
readlink "${cf}"
 
14808
readlink "${cf}.rpmnew"
 
14809
 
 
14810
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
14811
at_status=$? at_failed=false
 
14812
$at_check_filter
 
14813
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf created as /etc/my.conf.rpmnew
 
14814
" | \
 
14815
  $at_diff - "$at_stderr" || at_failed=:
 
14816
echo >>"$at_stdout"; $as_echo "foo-1.0
 
14817
otherstuff
 
14818
otherstuff
 
14819
foo-2.0
 
14820
" | \
 
14821
  $at_diff - "$at_stdout" || at_failed=:
 
14822
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:675"
 
14823
$at_failed && at_fn_log_failure
 
14824
$at_traceon; }
 
14825
 
 
14826
  set +x
 
14827
  $at_times_p && times >"$at_times_file"
 
14828
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
14829
read at_status <"$at_status_file"
 
14830
#AT_STOP_230
 
14831
#AT_START_231
 
14832
at_fn_group_banner 231 'rpmconfig2.at:718' \
 
14833
  "upgrade changing, modified shared config(noreplace) link 2" "" 13
 
14834
at_xfail=no
 
14835
(
 
14836
  $as_echo "231. $at_setup_line: testing $at_desc ..."
 
14837
  $at_traceon
 
14838
 
 
14839
 
 
14840
{ set +x
 
14841
$as_echo "$at_srcdir/rpmconfig2.at:720:
 
14842
 
 
14843
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
14844
 
 
14845
 
 
14846
runroot rpm --initdb
 
14847
 
 
14848
cf=\"\${RPMTEST}\"/etc/my.conf
 
14849
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
14850
rm -rf \"\${TOPDIR}\"
 
14851
 
 
14852
for s in \"A\" \"B\"; do
 
14853
    for v in \"1.0\" \"2.0\"; do
 
14854
        runroot rpmbuild --quiet -bb \\
 
14855
            --define \"sub \$s\" \\
 
14856
            --define \"ver \$v\" \\
 
14857
            --define \"filedata foo-\$v\" \\
 
14858
            --define \"filetype link\" \\
 
14859
            --define \"noreplace 1\" \\
 
14860
              /data/SPECS/configtest.spec
 
14861
    done
 
14862
done
 
14863
 
 
14864
runroot rpm -U \\
 
14865
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
 
14866
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
14867
readlink \"\${cf}\"
 
14868
ln -sf \"foo-2.0\" \"\${cf}\"
 
14869
readlink \"\${cf}\"
 
14870
runroot rpm -U \\
 
14871
    \"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
 
14872
    \"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
14873
readlink \"\${cf}\"
 
14874
test ! -L \"\${cf}.rpmnew\"
 
14875
"
 
14876
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:720"
 
14877
( $at_check_trace;
 
14878
 
 
14879
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
14880
 
 
14881
 
 
14882
runroot rpm --initdb
 
14883
 
 
14884
cf="${RPMTEST}"/etc/my.conf
 
14885
rm -rf "${cf}" "${cf}".rpm*
 
14886
rm -rf "${TOPDIR}"
 
14887
 
 
14888
for s in "A" "B"; do
 
14889
    for v in "1.0" "2.0"; do
 
14890
        runroot rpmbuild --quiet -bb \
 
14891
            --define "sub $s" \
 
14892
            --define "ver $v" \
 
14893
            --define "filedata foo-$v" \
 
14894
            --define "filetype link" \
 
14895
            --define "noreplace 1" \
 
14896
              /data/SPECS/configtest.spec
 
14897
    done
 
14898
done
 
14899
 
 
14900
runroot rpm -U \
 
14901
    "${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
 
14902
    "${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
 
14903
readlink "${cf}"
 
14904
ln -sf "foo-2.0" "${cf}"
 
14905
readlink "${cf}"
 
14906
runroot rpm -U \
 
14907
    "${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
 
14908
    "${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
 
14909
readlink "${cf}"
 
14910
test ! -L "${cf}.rpmnew"
 
14911
 
 
14912
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
14913
at_status=$? at_failed=false
 
14914
$at_check_filter
 
14915
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
14916
echo >>"$at_stdout"; $as_echo "foo-1.0
 
14917
foo-2.0
 
14918
foo-2.0
 
14919
" | \
 
14920
  $at_diff - "$at_stdout" || at_failed=:
 
14921
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig2.at:720"
 
14922
$at_failed && at_fn_log_failure
 
14923
$at_traceon; }
 
14924
 
 
14925
  set +x
 
14926
  $at_times_p && times >"$at_times_file"
 
14927
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
14928
read at_status <"$at_status_file"
 
14929
#AT_STOP_231
 
14930
#AT_START_232
 
14931
at_fn_group_banner 232 'rpmconfig3.at:6' \
 
14932
  "upgrade config to/from non-config" "              " 14
 
14933
at_xfail=no
 
14934
(
 
14935
  $as_echo "232. $at_setup_line: testing $at_desc ..."
 
14936
  $at_traceon
 
14937
 
 
14938
 
 
14939
{ set +x
 
14940
$as_echo "$at_srcdir/rpmconfig3.at:8:
 
14941
 
 
14942
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
14943
 
 
14944
 
 
14945
runroot rpm --initdb
 
14946
 
 
14947
cf=\"\${RPMTEST}\"/etc/my.conf
 
14948
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
14949
rm -rf \"\${TOPDIR}\"
 
14950
 
 
14951
runroot rpmbuild --quiet -bb \\
 
14952
        --define \"ver 1.0\" \\
 
14953
        --define \"filetype file\" \\
 
14954
        --define \"filedata foo\" \\
 
14955
          /data/SPECS/configtest.spec
 
14956
 
 
14957
runroot rpmbuild --quiet -bb \\
 
14958
        --define \"ver 2.0\" \\
 
14959
        --define \"filetype file\" \\
 
14960
        --define \"filedata bar\" \\
 
14961
        --define \"noconfig 1\" \\
 
14962
          /data/SPECS/configtest.spec
 
14963
 
 
14964
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
14965
cat \"\${cf}\"
 
14966
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
14967
cat \"\${cf}\"
 
14968
runroot rpm -U --oldpackage \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
14969
cat \"\${cf}\"
 
14970
"
 
14971
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig3.at:8"
 
14972
( $at_check_trace;
 
14973
 
 
14974
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
14975
 
 
14976
 
 
14977
runroot rpm --initdb
 
14978
 
 
14979
cf="${RPMTEST}"/etc/my.conf
 
14980
rm -rf "${cf}" "${cf}".rpm*
 
14981
rm -rf "${TOPDIR}"
 
14982
 
 
14983
runroot rpmbuild --quiet -bb \
 
14984
        --define "ver 1.0" \
 
14985
        --define "filetype file" \
 
14986
        --define "filedata foo" \
 
14987
          /data/SPECS/configtest.spec
 
14988
 
 
14989
runroot rpmbuild --quiet -bb \
 
14990
        --define "ver 2.0" \
 
14991
        --define "filetype file" \
 
14992
        --define "filedata bar" \
 
14993
        --define "noconfig 1" \
 
14994
          /data/SPECS/configtest.spec
 
14995
 
 
14996
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
14997
cat "${cf}"
 
14998
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
14999
cat "${cf}"
 
15000
runroot rpm -U --oldpackage "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15001
cat "${cf}"
 
15002
 
 
15003
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
15004
at_status=$? at_failed=false
 
15005
$at_check_filter
 
15006
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
15007
echo >>"$at_stdout"; $as_echo "foo
 
15008
bar
 
15009
foo
 
15010
" | \
 
15011
  $at_diff - "$at_stdout" || at_failed=:
 
15012
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig3.at:8"
 
15013
$at_failed && at_fn_log_failure
 
15014
$at_traceon; }
 
15015
 
 
15016
  set +x
 
15017
  $at_times_p && times >"$at_times_file"
 
15018
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
15019
read at_status <"$at_status_file"
 
15020
#AT_STOP_232
 
15021
#AT_START_233
 
15022
at_fn_group_banner 233 'rpmconfig3.at:44' \
 
15023
  "upgrade modified config to/from non-config 1" "   " 14
 
15024
at_xfail=no
 
15025
(
 
15026
  $as_echo "233. $at_setup_line: testing $at_desc ..."
 
15027
  $at_traceon
 
15028
 
 
15029
 
 
15030
{ set +x
 
15031
$as_echo "$at_srcdir/rpmconfig3.at:46:
 
15032
 
 
15033
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
15034
 
 
15035
 
 
15036
runroot rpm --initdb
 
15037
 
 
15038
cf=\"\${RPMTEST}\"/etc/my.conf
 
15039
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
15040
rm -rf \"\${TOPDIR}\"
 
15041
 
 
15042
runroot rpmbuild --quiet -bb \\
 
15043
        --define \"ver 1.0\" \\
 
15044
        --define \"filetype file\" \\
 
15045
        --define \"filedata foo\" \\
 
15046
          /data/SPECS/configtest.spec
 
15047
 
 
15048
runroot rpmbuild --quiet -bb \\
 
15049
        --define \"ver 2.0\" \\
 
15050
        --define \"filetype file\" \\
 
15051
        --define \"filedata bar\" \\
 
15052
        --define \"noconfig 1\" \\
 
15053
          /data/SPECS/configtest.spec
 
15054
 
 
15055
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15056
cat \"\${cf}\"
 
15057
echo \"otherstuff\" > \"\${cf}\"
 
15058
cat \"\${cf}\"
 
15059
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
15060
cat \"\${cf}\"
 
15061
cat \"\${cf}.rpmsave\"
 
15062
runroot rpm -U --oldpackage \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15063
cat \"\${cf}\"
 
15064
"
 
15065
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig3.at:46"
 
15066
( $at_check_trace;
 
15067
 
 
15068
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
15069
 
 
15070
 
 
15071
runroot rpm --initdb
 
15072
 
 
15073
cf="${RPMTEST}"/etc/my.conf
 
15074
rm -rf "${cf}" "${cf}".rpm*
 
15075
rm -rf "${TOPDIR}"
 
15076
 
 
15077
runroot rpmbuild --quiet -bb \
 
15078
        --define "ver 1.0" \
 
15079
        --define "filetype file" \
 
15080
        --define "filedata foo" \
 
15081
          /data/SPECS/configtest.spec
 
15082
 
 
15083
runroot rpmbuild --quiet -bb \
 
15084
        --define "ver 2.0" \
 
15085
        --define "filetype file" \
 
15086
        --define "filedata bar" \
 
15087
        --define "noconfig 1" \
 
15088
          /data/SPECS/configtest.spec
 
15089
 
 
15090
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15091
cat "${cf}"
 
15092
echo "otherstuff" > "${cf}"
 
15093
cat "${cf}"
 
15094
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
15095
cat "${cf}"
 
15096
cat "${cf}.rpmsave"
 
15097
runroot rpm -U --oldpackage "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15098
cat "${cf}"
 
15099
 
 
15100
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
15101
at_status=$? at_failed=false
 
15102
$at_check_filter
 
15103
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
 
15104
" | \
 
15105
  $at_diff - "$at_stderr" || at_failed=:
 
15106
echo >>"$at_stdout"; $as_echo "foo
 
15107
otherstuff
 
15108
bar
 
15109
otherstuff
 
15110
foo
 
15111
" | \
 
15112
  $at_diff - "$at_stdout" || at_failed=:
 
15113
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig3.at:46"
 
15114
$at_failed && at_fn_log_failure
 
15115
$at_traceon; }
 
15116
 
 
15117
  set +x
 
15118
  $at_times_p && times >"$at_times_file"
 
15119
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
15120
read at_status <"$at_status_file"
 
15121
#AT_STOP_233
 
15122
#AT_START_234
 
15123
at_fn_group_banner 234 'rpmconfig3.at:88' \
 
15124
  "upgrade modified config to/from non-config 2" "   " 14
 
15125
at_xfail=no
 
15126
(
 
15127
  $as_echo "234. $at_setup_line: testing $at_desc ..."
 
15128
  $at_traceon
 
15129
 
 
15130
 
 
15131
{ set +x
 
15132
$as_echo "$at_srcdir/rpmconfig3.at:90:
 
15133
 
 
15134
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
15135
 
 
15136
 
 
15137
runroot rpm --initdb
 
15138
 
 
15139
cf=\"\${RPMTEST}\"/etc/my.conf
 
15140
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
15141
rm -rf \"\${TOPDIR}\"
 
15142
 
 
15143
runroot rpmbuild --quiet -bb \\
 
15144
        --define \"ver 1.0\" \\
 
15145
        --define \"filetype file\" \\
 
15146
        --define \"filedata foo\" \\
 
15147
          /data/SPECS/configtest.spec
 
15148
 
 
15149
runroot rpmbuild --quiet -bb \\
 
15150
        --define \"ver 2.0\" \\
 
15151
        --define \"filetype file\" \\
 
15152
        --define \"filedata bar\" \\
 
15153
        --define \"noconfig 1\" \\
 
15154
          /data/SPECS/configtest.spec
 
15155
 
 
15156
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15157
cat \"\${cf}\"
 
15158
echo \"bar\" > \"\${cf}\"
 
15159
cat \"\${cf}\"
 
15160
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
15161
cat \"\${cf}\"
 
15162
runroot rpm -U --oldpackage \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15163
cat \"\${cf}\"
 
15164
"
 
15165
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig3.at:90"
 
15166
( $at_check_trace;
 
15167
 
 
15168
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
15169
 
 
15170
 
 
15171
runroot rpm --initdb
 
15172
 
 
15173
cf="${RPMTEST}"/etc/my.conf
 
15174
rm -rf "${cf}" "${cf}".rpm*
 
15175
rm -rf "${TOPDIR}"
 
15176
 
 
15177
runroot rpmbuild --quiet -bb \
 
15178
        --define "ver 1.0" \
 
15179
        --define "filetype file" \
 
15180
        --define "filedata foo" \
 
15181
          /data/SPECS/configtest.spec
 
15182
 
 
15183
runroot rpmbuild --quiet -bb \
 
15184
        --define "ver 2.0" \
 
15185
        --define "filetype file" \
 
15186
        --define "filedata bar" \
 
15187
        --define "noconfig 1" \
 
15188
          /data/SPECS/configtest.spec
 
15189
 
 
15190
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15191
cat "${cf}"
 
15192
echo "bar" > "${cf}"
 
15193
cat "${cf}"
 
15194
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
15195
cat "${cf}"
 
15196
runroot rpm -U --oldpackage "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15197
cat "${cf}"
 
15198
 
 
15199
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
15200
at_status=$? at_failed=false
 
15201
$at_check_filter
 
15202
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
15203
echo >>"$at_stdout"; $as_echo "foo
 
15204
bar
 
15205
bar
 
15206
foo
 
15207
" | \
 
15208
  $at_diff - "$at_stdout" || at_failed=:
 
15209
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig3.at:90"
 
15210
$at_failed && at_fn_log_failure
 
15211
$at_traceon; }
 
15212
 
 
15213
  set +x
 
15214
  $at_times_p && times >"$at_times_file"
 
15215
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
15216
read at_status <"$at_status_file"
 
15217
#AT_STOP_234
 
15218
#AT_START_235
 
15219
at_fn_group_banner 235 'rpmconfig3.at:129' \
 
15220
  "upgrade config to/from config link" "             " 14
 
15221
at_xfail=no
 
15222
(
 
15223
  $as_echo "235. $at_setup_line: testing $at_desc ..."
 
15224
  $at_traceon
 
15225
 
 
15226
 
 
15227
{ set +x
 
15228
$as_echo "$at_srcdir/rpmconfig3.at:131:
 
15229
 
 
15230
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
15231
 
 
15232
 
 
15233
runroot rpm --initdb
 
15234
 
 
15235
cf=\"\${RPMTEST}\"/etc/my.conf
 
15236
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
15237
rm -rf \"\${TOPDIR}\"
 
15238
 
 
15239
runroot rpmbuild --quiet -bb \\
 
15240
        --define \"ver 1.0\" \\
 
15241
        --define \"filetype file\" \\
 
15242
        --define \"filedata foo\" \\
 
15243
          /data/SPECS/configtest.spec
 
15244
 
 
15245
runroot rpmbuild --quiet -bb \\
 
15246
        --define \"ver 2.0\" \\
 
15247
        --define \"filetype link\" \\
 
15248
        --define \"filedata bar\" \\
 
15249
          /data/SPECS/configtest.spec
 
15250
 
 
15251
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15252
cat \"\${cf}\"
 
15253
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
15254
readlink \"\${cf}\"
 
15255
runroot rpm -U --oldpackage \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15256
cat \"\${cf}\"
 
15257
"
 
15258
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig3.at:131"
 
15259
( $at_check_trace;
 
15260
 
 
15261
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
15262
 
 
15263
 
 
15264
runroot rpm --initdb
 
15265
 
 
15266
cf="${RPMTEST}"/etc/my.conf
 
15267
rm -rf "${cf}" "${cf}".rpm*
 
15268
rm -rf "${TOPDIR}"
 
15269
 
 
15270
runroot rpmbuild --quiet -bb \
 
15271
        --define "ver 1.0" \
 
15272
        --define "filetype file" \
 
15273
        --define "filedata foo" \
 
15274
          /data/SPECS/configtest.spec
 
15275
 
 
15276
runroot rpmbuild --quiet -bb \
 
15277
        --define "ver 2.0" \
 
15278
        --define "filetype link" \
 
15279
        --define "filedata bar" \
 
15280
          /data/SPECS/configtest.spec
 
15281
 
 
15282
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15283
cat "${cf}"
 
15284
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
15285
readlink "${cf}"
 
15286
runroot rpm -U --oldpackage "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15287
cat "${cf}"
 
15288
 
 
15289
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
15290
at_status=$? at_failed=false
 
15291
$at_check_filter
 
15292
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
15293
echo >>"$at_stdout"; $as_echo "foo
 
15294
bar
 
15295
foo
 
15296
" | \
 
15297
  $at_diff - "$at_stdout" || at_failed=:
 
15298
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig3.at:131"
 
15299
$at_failed && at_fn_log_failure
 
15300
$at_traceon; }
 
15301
 
 
15302
  set +x
 
15303
  $at_times_p && times >"$at_times_file"
 
15304
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
15305
read at_status <"$at_status_file"
 
15306
#AT_STOP_235
 
15307
#AT_START_236
 
15308
at_fn_group_banner 236 'rpmconfig3.at:166' \
 
15309
  "upgrade modified config to config link" "         " 14
 
15310
at_xfail=no
 
15311
(
 
15312
  $as_echo "236. $at_setup_line: testing $at_desc ..."
 
15313
  $at_traceon
 
15314
 
 
15315
 
 
15316
{ set +x
 
15317
$as_echo "$at_srcdir/rpmconfig3.at:168:
 
15318
 
 
15319
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
15320
 
 
15321
 
 
15322
runroot rpm --initdb
 
15323
 
 
15324
cf=\"\${RPMTEST}\"/etc/my.conf
 
15325
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
15326
rm -rf \"\${TOPDIR}\"
 
15327
 
 
15328
runroot rpmbuild --quiet -bb \\
 
15329
        --define \"ver 1.0\" \\
 
15330
        --define \"filetype file\" \\
 
15331
        --define \"filedata foo\" \\
 
15332
          /data/SPECS/configtest.spec
 
15333
 
 
15334
runroot rpmbuild --quiet -bb \\
 
15335
        --define \"ver 2.0\" \\
 
15336
        --define \"filetype link\" \\
 
15337
        --define \"filedata bar\" \\
 
15338
          /data/SPECS/configtest.spec
 
15339
 
 
15340
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15341
cat \"\${cf}\"
 
15342
echo \"otherstuff\" > \"\${cf}\"
 
15343
cat \"\${cf}\"
 
15344
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
15345
readlink \"\${cf}\"
 
15346
cat \"\${cf}.rpmsave\"
 
15347
"
 
15348
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig3.at:168"
 
15349
( $at_check_trace;
 
15350
 
 
15351
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
15352
 
 
15353
 
 
15354
runroot rpm --initdb
 
15355
 
 
15356
cf="${RPMTEST}"/etc/my.conf
 
15357
rm -rf "${cf}" "${cf}".rpm*
 
15358
rm -rf "${TOPDIR}"
 
15359
 
 
15360
runroot rpmbuild --quiet -bb \
 
15361
        --define "ver 1.0" \
 
15362
        --define "filetype file" \
 
15363
        --define "filedata foo" \
 
15364
          /data/SPECS/configtest.spec
 
15365
 
 
15366
runroot rpmbuild --quiet -bb \
 
15367
        --define "ver 2.0" \
 
15368
        --define "filetype link" \
 
15369
        --define "filedata bar" \
 
15370
          /data/SPECS/configtest.spec
 
15371
 
 
15372
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15373
cat "${cf}"
 
15374
echo "otherstuff" > "${cf}"
 
15375
cat "${cf}"
 
15376
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
15377
readlink "${cf}"
 
15378
cat "${cf}.rpmsave"
 
15379
 
 
15380
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
15381
at_status=$? at_failed=false
 
15382
$at_check_filter
 
15383
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
 
15384
" | \
 
15385
  $at_diff - "$at_stderr" || at_failed=:
 
15386
echo >>"$at_stdout"; $as_echo "foo
 
15387
otherstuff
 
15388
bar
 
15389
otherstuff
 
15390
" | \
 
15391
  $at_diff - "$at_stdout" || at_failed=:
 
15392
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig3.at:168"
 
15393
$at_failed && at_fn_log_failure
 
15394
$at_traceon; }
 
15395
 
 
15396
  set +x
 
15397
  $at_times_p && times >"$at_times_file"
 
15398
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
15399
read at_status <"$at_status_file"
 
15400
#AT_STOP_236
 
15401
#AT_START_237
 
15402
at_fn_group_banner 237 'rpmconfig3.at:206' \
 
15403
  "upgrade modified config link to config" "         " 14
 
15404
at_xfail=no
 
15405
(
 
15406
  $as_echo "237. $at_setup_line: testing $at_desc ..."
 
15407
  $at_traceon
 
15408
 
 
15409
 
 
15410
{ set +x
 
15411
$as_echo "$at_srcdir/rpmconfig3.at:208:
 
15412
 
 
15413
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
15414
 
 
15415
 
 
15416
runroot rpm --initdb
 
15417
 
 
15418
cf=\"\${RPMTEST}\"/etc/my.conf
 
15419
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
15420
rm -rf \"\${TOPDIR}\"
 
15421
 
 
15422
runroot rpmbuild --quiet -bb \\
 
15423
        --define \"ver 1.0\" \\
 
15424
        --define \"filetype link\" \\
 
15425
        --define \"filedata foo\" \\
 
15426
          /data/SPECS/configtest.spec
 
15427
 
 
15428
runroot rpmbuild --quiet -bb \\
 
15429
        --define \"ver 2.0\" \\
 
15430
        --define \"filetype file\" \\
 
15431
        --define \"filedata bar\" \\
 
15432
          /data/SPECS/configtest.spec
 
15433
 
 
15434
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15435
readlink \"\${cf}\"
 
15436
ln -sf \"otherstuff\" \"\${cf}\"
 
15437
readlink \"\${cf}\"
 
15438
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
15439
cat \"\${cf}\"
 
15440
readlink \"\${cf}.rpmsave\"
 
15441
"
 
15442
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig3.at:208"
 
15443
( $at_check_trace;
 
15444
 
 
15445
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
15446
 
 
15447
 
 
15448
runroot rpm --initdb
 
15449
 
 
15450
cf="${RPMTEST}"/etc/my.conf
 
15451
rm -rf "${cf}" "${cf}".rpm*
 
15452
rm -rf "${TOPDIR}"
 
15453
 
 
15454
runroot rpmbuild --quiet -bb \
 
15455
        --define "ver 1.0" \
 
15456
        --define "filetype link" \
 
15457
        --define "filedata foo" \
 
15458
          /data/SPECS/configtest.spec
 
15459
 
 
15460
runroot rpmbuild --quiet -bb \
 
15461
        --define "ver 2.0" \
 
15462
        --define "filetype file" \
 
15463
        --define "filedata bar" \
 
15464
          /data/SPECS/configtest.spec
 
15465
 
 
15466
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15467
readlink "${cf}"
 
15468
ln -sf "otherstuff" "${cf}"
 
15469
readlink "${cf}"
 
15470
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
15471
cat "${cf}"
 
15472
readlink "${cf}.rpmsave"
 
15473
 
 
15474
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
15475
at_status=$? at_failed=false
 
15476
$at_check_filter
 
15477
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
 
15478
" | \
 
15479
  $at_diff - "$at_stderr" || at_failed=:
 
15480
echo >>"$at_stdout"; $as_echo "foo
 
15481
otherstuff
 
15482
bar
 
15483
otherstuff
 
15484
" | \
 
15485
  $at_diff - "$at_stdout" || at_failed=:
 
15486
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig3.at:208"
 
15487
$at_failed && at_fn_log_failure
 
15488
$at_traceon; }
 
15489
 
 
15490
  set +x
 
15491
  $at_times_p && times >"$at_times_file"
 
15492
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
15493
read at_status <"$at_status_file"
 
15494
#AT_STOP_237
 
15495
#AT_START_238
 
15496
at_fn_group_banner 238 'rpmconfig3.at:246' \
 
15497
  "upgrade config to directory" "                    " 14
 
15498
at_xfail=no
 
15499
(
 
15500
  $as_echo "238. $at_setup_line: testing $at_desc ..."
 
15501
  $at_traceon
 
15502
 
 
15503
 
 
15504
{ set +x
 
15505
$as_echo "$at_srcdir/rpmconfig3.at:248:
 
15506
 
 
15507
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
15508
 
 
15509
 
 
15510
runroot rpm --initdb
 
15511
 
 
15512
cf=\"\${RPMTEST}\"/etc/my.conf
 
15513
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
15514
rm -rf \"\${TOPDIR}\"
 
15515
 
 
15516
runroot rpmbuild --quiet -bb \\
 
15517
        --define \"ver 1.0\" \\
 
15518
        --define \"filetype file\" \\
 
15519
        --define \"filedata foo\" \\
 
15520
          /data/SPECS/configtest.spec
 
15521
 
 
15522
runroot rpmbuild --quiet -bb \\
 
15523
        --define \"ver 2.0\" \\
 
15524
        --define \"filetype dir\" \\
 
15525
          /data/SPECS/configtest.spec
 
15526
 
 
15527
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15528
cat \"\${cf}\"
 
15529
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
15530
test -d \"\${cf}\"
 
15531
"
 
15532
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig3.at:248"
 
15533
( $at_check_trace;
 
15534
 
 
15535
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
15536
 
 
15537
 
 
15538
runroot rpm --initdb
 
15539
 
 
15540
cf="${RPMTEST}"/etc/my.conf
 
15541
rm -rf "${cf}" "${cf}".rpm*
 
15542
rm -rf "${TOPDIR}"
 
15543
 
 
15544
runroot rpmbuild --quiet -bb \
 
15545
        --define "ver 1.0" \
 
15546
        --define "filetype file" \
 
15547
        --define "filedata foo" \
 
15548
          /data/SPECS/configtest.spec
 
15549
 
 
15550
runroot rpmbuild --quiet -bb \
 
15551
        --define "ver 2.0" \
 
15552
        --define "filetype dir" \
 
15553
          /data/SPECS/configtest.spec
 
15554
 
 
15555
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15556
cat "${cf}"
 
15557
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
15558
test -d "${cf}"
 
15559
 
 
15560
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
15561
at_status=$? at_failed=false
 
15562
$at_check_filter
 
15563
at_fn_diff_devnull "$at_stderr" || at_failed=:
 
15564
echo >>"$at_stdout"; $as_echo "foo
 
15565
" | \
 
15566
  $at_diff - "$at_stdout" || at_failed=:
 
15567
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig3.at:248"
 
15568
$at_failed && at_fn_log_failure
 
15569
$at_traceon; }
 
15570
 
 
15571
  set +x
 
15572
  $at_times_p && times >"$at_times_file"
 
15573
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
15574
read at_status <"$at_status_file"
 
15575
#AT_STOP_238
 
15576
#AT_START_239
 
15577
at_fn_group_banner 239 'rpmconfig3.at:278' \
 
15578
  "upgrade modified config to directory" "           " 14
 
15579
at_xfail=no
 
15580
(
 
15581
  $as_echo "239. $at_setup_line: testing $at_desc ..."
 
15582
  $at_traceon
 
15583
 
 
15584
 
 
15585
{ set +x
 
15586
$as_echo "$at_srcdir/rpmconfig3.at:280:
 
15587
 
 
15588
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
 
15589
 
 
15590
 
 
15591
runroot rpm --initdb
 
15592
 
 
15593
cf=\"\${RPMTEST}\"/etc/my.conf
 
15594
rm -rf \"\${cf}\" \"\${cf}\".rpm*
 
15595
rm -rf \"\${TOPDIR}\"
 
15596
 
 
15597
runroot rpmbuild --quiet -bb \\
 
15598
        --define \"ver 1.0\" \\
 
15599
        --define \"filetype file\" \\
 
15600
        --define \"filedata foo\" \\
 
15601
          /data/SPECS/configtest.spec
 
15602
 
 
15603
runroot rpmbuild --quiet -bb \\
 
15604
        --define \"ver 2.0\" \\
 
15605
        --define \"filetype dir\" \\
 
15606
          /data/SPECS/configtest.spec
 
15607
 
 
15608
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15609
cat \"\${cf}\"
 
15610
echo \"otherstuff\" > \"\${cf}\"
 
15611
cat \"\${cf}\"
 
15612
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
15613
test -d \"\${cf}\"
 
15614
cat \"\${cf}.rpmsave\"
 
15615
"
 
15616
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig3.at:280"
 
15617
( $at_check_trace;
 
15618
 
 
15619
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
 
15620
 
 
15621
 
 
15622
runroot rpm --initdb
 
15623
 
 
15624
cf="${RPMTEST}"/etc/my.conf
 
15625
rm -rf "${cf}" "${cf}".rpm*
 
15626
rm -rf "${TOPDIR}"
 
15627
 
 
15628
runroot rpmbuild --quiet -bb \
 
15629
        --define "ver 1.0" \
 
15630
        --define "filetype file" \
 
15631
        --define "filedata foo" \
 
15632
          /data/SPECS/configtest.spec
 
15633
 
 
15634
runroot rpmbuild --quiet -bb \
 
15635
        --define "ver 2.0" \
 
15636
        --define "filetype dir" \
 
15637
          /data/SPECS/configtest.spec
 
15638
 
 
15639
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
 
15640
cat "${cf}"
 
15641
echo "otherstuff" > "${cf}"
 
15642
cat "${cf}"
 
15643
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
 
15644
test -d "${cf}"
 
15645
cat "${cf}.rpmsave"
 
15646
 
 
15647
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 
15648
at_status=$? at_failed=false
 
15649
$at_check_filter
 
15650
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
 
15651
" | \
 
15652
  $at_diff - "$at_stderr" || at_failed=:
 
15653
echo >>"$at_stdout"; $as_echo "foo
 
15654
otherstuff
 
15655
otherstuff
 
15656
" | \
 
15657
  $at_diff - "$at_stdout" || at_failed=:
 
15658
at_fn_check_status 0 $at_status "$at_srcdir/rpmconfig3.at:280"
 
15659
$at_failed && at_fn_log_failure
 
15660
$at_traceon; }
 
15661
 
 
15662
  set +x
 
15663
  $at_times_p && times >"$at_times_file"
 
15664
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
 
15665
read at_status <"$at_status_file"
 
15666
#AT_STOP_239
 
15667
#AT_START_240
 
15668
at_fn_group_banner 240 'rpmmacro.at:6' \
 
15669
  "simple rpm --eval" "                              " 15
 
15670
at_xfail=no
 
15671
(
 
15672
  $as_echo "240. $at_setup_line: testing $at_desc ..."
9428
15673
  $at_traceon
9429
15674
 
9430
15675
 
9451
15696
  $at_times_p && times >"$at_times_file"
9452
15697
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9453
15698
read at_status <"$at_status_file"
9454
 
#AT_STOP_166
9455
 
#AT_START_167
9456
 
at_fn_group_banner 167 'rpmmacro.at:16' \
9457
 
  "simple true conditional rpm --eval" "             " 12
 
15699
#AT_STOP_240
 
15700
#AT_START_241
 
15701
at_fn_group_banner 241 'rpmmacro.at:16' \
 
15702
  "simple true conditional rpm --eval" "             " 15
9458
15703
at_xfail=no
9459
15704
(
9460
 
  $as_echo "167. $at_setup_line: testing $at_desc ..."
 
15705
  $as_echo "241. $at_setup_line: testing $at_desc ..."
9461
15706
  $at_traceon
9462
15707
 
9463
15708
 
9484
15729
  $at_times_p && times >"$at_times_file"
9485
15730
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9486
15731
read at_status <"$at_status_file"
9487
 
#AT_STOP_167
9488
 
#AT_START_168
9489
 
at_fn_group_banner 168 'rpmmacro.at:26' \
9490
 
  "simple false conditional rpm --eval" "            " 12
 
15732
#AT_STOP_241
 
15733
#AT_START_242
 
15734
at_fn_group_banner 242 'rpmmacro.at:26' \
 
15735
  "simple false conditional rpm --eval" "            " 15
9491
15736
at_xfail=no
9492
15737
(
9493
 
  $as_echo "168. $at_setup_line: testing $at_desc ..."
 
15738
  $as_echo "242. $at_setup_line: testing $at_desc ..."
9494
15739
  $at_traceon
9495
15740
 
9496
15741
 
9517
15762
  $at_times_p && times >"$at_times_file"
9518
15763
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9519
15764
read at_status <"$at_status_file"
9520
 
#AT_STOP_168
9521
 
#AT_START_169
9522
 
at_fn_group_banner 169 'rpmmacro.at:36' \
9523
 
  "uncompress macro" "                               " 12
 
15765
#AT_STOP_242
 
15766
#AT_START_243
 
15767
at_fn_group_banner 243 'rpmmacro.at:36' \
 
15768
  "uncompress macro" "                               " 15
9524
15769
at_xfail=no
9525
15770
(
9526
 
  $as_echo "169. $at_setup_line: testing $at_desc ..."
 
15771
  $as_echo "243. $at_setup_line: testing $at_desc ..."
9527
15772
  $at_traceon
9528
15773
 
9529
15774
 
9554
15799
  $at_times_p && times >"$at_times_file"
9555
15800
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9556
15801
read at_status <"$at_status_file"
9557
 
#AT_STOP_169
9558
 
#AT_START_170
9559
 
at_fn_group_banner 170 'rpmmacro.at:48' \
9560
 
  "basename macro" "                                 " 12
 
15802
#AT_STOP_243
 
15803
#AT_START_244
 
15804
at_fn_group_banner 244 'rpmmacro.at:48' \
 
15805
  "basename macro" "                                 " 15
9561
15806
at_xfail=no
9562
15807
(
9563
 
  $as_echo "170. $at_setup_line: testing $at_desc ..."
 
15808
  $as_echo "244. $at_setup_line: testing $at_desc ..."
9564
15809
  $at_traceon
9565
15810
 
9566
15811
 
9589
15834
  $at_times_p && times >"$at_times_file"
9590
15835
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9591
15836
read at_status <"$at_status_file"
9592
 
#AT_STOP_170
9593
 
#AT_START_171
9594
 
at_fn_group_banner 171 'rpmmacro.at:59' \
9595
 
  "suffix macro" "                                   " 12
 
15837
#AT_STOP_244
 
15838
#AT_START_245
 
15839
at_fn_group_banner 245 'rpmmacro.at:59' \
 
15840
  "suffix macro" "                                   " 15
9596
15841
at_xfail=no
9597
15842
(
9598
 
  $as_echo "171. $at_setup_line: testing $at_desc ..."
 
15843
  $as_echo "245. $at_setup_line: testing $at_desc ..."
9599
15844
  $at_traceon
9600
15845
 
9601
15846
 
9624
15869
  $at_times_p && times >"$at_times_file"
9625
15870
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9626
15871
read at_status <"$at_status_file"
9627
 
#AT_STOP_171
9628
 
#AT_START_172
9629
 
at_fn_group_banner 172 'rpmmacro.at:70' \
9630
 
  "url2path macro" "                                 " 12
 
15872
#AT_STOP_245
 
15873
#AT_START_246
 
15874
at_fn_group_banner 246 'rpmmacro.at:70' \
 
15875
  "url2path macro" "                                 " 15
9631
15876
at_xfail=no
9632
15877
(
9633
 
  $as_echo "172. $at_setup_line: testing $at_desc ..."
 
15878
  $as_echo "246. $at_setup_line: testing $at_desc ..."
9634
15879
  $at_traceon
9635
15880
 
9636
15881
 
9659
15904
  $at_times_p && times >"$at_times_file"
9660
15905
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9661
15906
read at_status <"$at_status_file"
9662
 
#AT_STOP_172
9663
 
#AT_START_173
9664
 
at_fn_group_banner 173 'rpmmacro.at:81' \
9665
 
  "shell expansion" "                                " 12
 
15907
#AT_STOP_246
 
15908
#AT_START_247
 
15909
at_fn_group_banner 247 'rpmmacro.at:81' \
 
15910
  "shell expansion" "                                " 15
9666
15911
at_xfail=no
9667
15912
(
9668
 
  $as_echo "173. $at_setup_line: testing $at_desc ..."
 
15913
  $as_echo "247. $at_setup_line: testing $at_desc ..."
9669
15914
  $at_traceon
9670
15915
 
9671
15916
 
9694
15939
  $at_times_p && times >"$at_times_file"
9695
15940
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9696
15941
read at_status <"$at_status_file"
9697
 
#AT_STOP_173
9698
 
#AT_START_174
9699
 
at_fn_group_banner 174 'rpmmacro.at:92' \
9700
 
  "simple lua --eval" "                              " 12
 
15942
#AT_STOP_247
 
15943
#AT_START_248
 
15944
at_fn_group_banner 248 'rpmmacro.at:92' \
 
15945
  "simple lua --eval" "                              " 15
9701
15946
at_xfail=no
9702
15947
(
9703
 
  $as_echo "174. $at_setup_line: testing $at_desc ..."
 
15948
  $as_echo "248. $at_setup_line: testing $at_desc ..."
9704
15949
  $at_traceon
9705
15950
 
9706
15951
 
9727
15972
  $at_times_p && times >"$at_times_file"
9728
15973
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9729
15974
read at_status <"$at_status_file"
9730
 
#AT_STOP_174
9731
 
#AT_START_175
9732
 
at_fn_group_banner 175 'rpmmacro.at:102' \
9733
 
  "lua rpm extensions" "                             " 12
 
15975
#AT_STOP_248
 
15976
#AT_START_249
 
15977
at_fn_group_banner 249 'rpmmacro.at:102' \
 
15978
  "lua rpm extensions" "                             " 15
9734
15979
at_xfail=no
9735
15980
(
9736
 
  $as_echo "175. $at_setup_line: testing $at_desc ..."
 
15981
  $as_echo "249. $at_setup_line: testing $at_desc ..."
9737
15982
  $at_traceon
9738
15983
 
9739
15984
 
9760
16005
  $at_times_p && times >"$at_times_file"
9761
16006
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9762
16007
read at_status <"$at_status_file"
9763
 
#AT_STOP_175
9764
 
#AT_START_176
9765
 
at_fn_group_banner 176 'rpmmacro.at:112' \
9766
 
  "lua posix extensions" "                           " 12
 
16008
#AT_STOP_249
 
16009
#AT_START_250
 
16010
at_fn_group_banner 250 'rpmmacro.at:112' \
 
16011
  "lua posix extensions" "                           " 15
9767
16012
at_xfail=no
9768
16013
(
9769
 
  $as_echo "176. $at_setup_line: testing $at_desc ..."
 
16014
  $as_echo "250. $at_setup_line: testing $at_desc ..."
9770
16015
  $at_traceon
9771
16016
 
9772
16017
 
9795
16040
  $at_times_p && times >"$at_times_file"
9796
16041
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9797
16042
read at_status <"$at_status_file"
9798
 
#AT_STOP_176
9799
 
#AT_START_177
9800
 
at_fn_group_banner 177 'rpmmacro.at:123' \
9801
 
  "lua script exit behavior" "                       " 12
 
16043
#AT_STOP_250
 
16044
#AT_START_251
 
16045
at_fn_group_banner 251 'rpmmacro.at:123' \
 
16046
  "lua script exit behavior" "                       " 15
9802
16047
at_xfail=no
9803
16048
(
9804
 
  $as_echo "177. $at_setup_line: testing $at_desc ..."
 
16049
  $as_echo "251. $at_setup_line: testing $at_desc ..."
9805
16050
  $at_traceon
9806
16051
 
9807
16052
 
9832
16077
  $at_times_p && times >"$at_times_file"
9833
16078
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9834
16079
read at_status <"$at_status_file"
9835
 
#AT_STOP_177
9836
 
#AT_START_178
9837
 
at_fn_group_banner 178 'rpmpython.at:6' \
9838
 
  "module import" "                                  " 13
 
16080
#AT_STOP_251
 
16081
#AT_START_252
 
16082
at_fn_group_banner 252 'rpmpython.at:6' \
 
16083
  "module import" "                                  " 16
9839
16084
at_xfail=no
9840
16085
(
9841
 
  $as_echo "178. $at_setup_line: testing $at_desc ..."
 
16086
  $as_echo "252. $at_setup_line: testing $at_desc ..."
9842
16087
  $at_traceon
9843
16088
 
9844
16089
 
9881
16126
at_status=$? at_failed=false
9882
16127
$at_check_filter
9883
16128
at_fn_diff_devnull "$at_stderr" || at_failed=:
9884
 
echo >>"$at_stdout"; $as_echo "4.10.3.1
 
16129
echo >>"$at_stdout"; $as_echo "4.11.0.1
9885
16130
" | \
9886
16131
  $at_diff - "$at_stdout" || at_failed=:
9887
16132
at_fn_check_status 0 $at_status "$at_srcdir/rpmpython.at:6"
9893
16138
  $at_times_p && times >"$at_times_file"
9894
16139
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9895
16140
read at_status <"$at_status_file"
9896
 
#AT_STOP_178
9897
 
#AT_START_179
9898
 
at_fn_group_banner 179 'rpmpython.at:12' \
9899
 
  "macro manipulation" "                             " 13
 
16141
#AT_STOP_252
 
16142
#AT_START_253
 
16143
at_fn_group_banner 253 'rpmpython.at:12' \
 
16144
  "macro manipulation" "                             " 16
9900
16145
at_xfail=no
9901
16146
(
9902
 
  $as_echo "179. $at_setup_line: testing $at_desc ..."
 
16147
  $as_echo "253. $at_setup_line: testing $at_desc ..."
9903
16148
  $at_traceon
9904
16149
 
9905
16150
 
9982
16227
  $at_times_p && times >"$at_times_file"
9983
16228
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
9984
16229
read at_status <"$at_status_file"
9985
 
#AT_STOP_179
9986
 
#AT_START_180
9987
 
at_fn_group_banner 180 'rpmpython.at:35' \
9988
 
  "basic rpmio" "                                    " 13
 
16230
#AT_STOP_253
 
16231
#AT_START_254
 
16232
at_fn_group_banner 254 'rpmpython.at:35' \
 
16233
  "basic rpmio" "                                    " 16
9989
16234
at_xfail=no
9990
16235
(
9991
 
  $as_echo "180. $at_setup_line: testing $at_desc ..."
 
16236
  $as_echo "254. $at_setup_line: testing $at_desc ..."
9992
16237
  $at_traceon
9993
16238
 
9994
16239
 
10101
16346
  $at_times_p && times >"$at_times_file"
10102
16347
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
10103
16348
read at_status <"$at_status_file"
10104
 
#AT_STOP_180
10105
 
#AT_START_181
10106
 
at_fn_group_banner 181 'rpmpython.at:70' \
10107
 
  "spec parse" "                                     " 13
 
16349
#AT_STOP_254
 
16350
#AT_START_255
 
16351
at_fn_group_banner 255 'rpmpython.at:70' \
 
16352
  "spec parse" "                                     " 16
10108
16353
at_xfail=no
10109
16354
(
10110
 
  $as_echo "181. $at_setup_line: testing $at_desc ..."
 
16355
  $as_echo "255. $at_setup_line: testing $at_desc ..."
10111
16356
  $at_traceon
10112
16357
 
10113
16358
 
10177
16422
  $at_times_p && times >"$at_times_file"
10178
16423
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
10179
16424
read at_status <"$at_status_file"
10180
 
#AT_STOP_181
10181
 
#AT_START_182
10182
 
at_fn_group_banner 182 'rpmpython.at:85' \
10183
 
  "basic header manipulation" "                      " 13
 
16425
#AT_STOP_255
 
16426
#AT_START_256
 
16427
at_fn_group_banner 256 'rpmpython.at:85' \
 
16428
  "basic header manipulation" "                      " 16
10184
16429
at_xfail=no
10185
16430
(
10186
 
  $as_echo "182. $at_setup_line: testing $at_desc ..."
 
16431
  $as_echo "256. $at_setup_line: testing $at_desc ..."
10187
16432
  $at_traceon
10188
16433
 
10189
16434
 
10271
16516
  $at_times_p && times >"$at_times_file"
10272
16517
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
10273
16518
read at_status <"$at_status_file"
10274
 
#AT_STOP_182
10275
 
#AT_START_183
10276
 
at_fn_group_banner 183 'rpmpython.at:110' \
10277
 
  "invalid header data" "                            " 13
 
16519
#AT_STOP_256
 
16520
#AT_START_257
 
16521
at_fn_group_banner 257 'rpmpython.at:110' \
 
16522
  "invalid header data" "                            " 16
10278
16523
at_xfail=no
10279
16524
(
10280
 
  $as_echo "183. $at_setup_line: testing $at_desc ..."
 
16525
  $as_echo "257. $at_setup_line: testing $at_desc ..."
10281
16526
  $at_traceon
10282
16527
 
10283
16528
 
10357
16602
  $at_times_p && times >"$at_times_file"
10358
16603
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
10359
16604
read at_status <"$at_status_file"
10360
 
#AT_STOP_183
10361
 
#AT_START_184
10362
 
at_fn_group_banner 184 'rpmpython.at:129' \
10363
 
  "reading a package file" "                         " 13
 
16605
#AT_STOP_257
 
16606
#AT_START_258
 
16607
at_fn_group_banner 258 'rpmpython.at:129' \
 
16608
  "reading a package file" "                         " 16
10364
16609
at_xfail=no
10365
16610
(
10366
 
  $as_echo "184. $at_setup_line: testing $at_desc ..."
 
16611
  $as_echo "258. $at_setup_line: testing $at_desc ..."
10367
16612
  $at_traceon
10368
16613
 
10369
16614
 
10422
16667
  $at_times_p && times >"$at_times_file"
10423
16668
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
10424
16669
read at_status <"$at_status_file"
10425
 
#AT_STOP_184
10426
 
#AT_START_185
10427
 
at_fn_group_banner 185 'rpmpython.at:137' \
10428
 
  "add package to transaction" "                     " 13
 
16670
#AT_STOP_258
 
16671
#AT_START_259
 
16672
at_fn_group_banner 259 'rpmpython.at:137' \
 
16673
  "add package to transaction" "                     " 16
10429
16674
at_xfail=no
10430
16675
(
10431
 
  $as_echo "185. $at_setup_line: testing $at_desc ..."
 
16676
  $as_echo "259. $at_setup_line: testing $at_desc ..."
10432
16677
  $at_traceon
10433
16678
 
10434
16679
 
10495
16740
  $at_times_p && times >"$at_times_file"
10496
16741
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
10497
16742
read at_status <"$at_status_file"
10498
 
#AT_STOP_185
10499
 
#AT_START_186
10500
 
at_fn_group_banner 186 'rpmpython.at:149' \
10501
 
  "add bogus package to transaction 1" "             " 13
 
16743
#AT_STOP_259
 
16744
#AT_START_260
 
16745
at_fn_group_banner 260 'rpmpython.at:149' \
 
16746
  "add bogus package to transaction 1" "             " 16
10502
16747
at_xfail=no
10503
16748
(
10504
 
  $as_echo "186. $at_setup_line: testing $at_desc ..."
 
16749
  $as_echo "260. $at_setup_line: testing $at_desc ..."
10505
16750
  $at_traceon
10506
16751
 
10507
16752
 
10572
16817
  $at_times_p && times >"$at_times_file"
10573
16818
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
10574
16819
read at_status <"$at_status_file"
10575
 
#AT_STOP_186
10576
 
#AT_START_187
10577
 
at_fn_group_banner 187 'rpmpython.at:163' \
10578
 
  "add bogus package to transaction 2" "             " 13
 
16820
#AT_STOP_260
 
16821
#AT_START_261
 
16822
at_fn_group_banner 261 'rpmpython.at:163' \
 
16823
  "add bogus package to transaction 2" "             " 16
10579
16824
at_xfail=no
10580
16825
(
10581
 
  $as_echo "187. $at_setup_line: testing $at_desc ..."
 
16826
  $as_echo "261. $at_setup_line: testing $at_desc ..."
10582
16827
  $at_traceon
10583
16828
 
10584
16829
 
10663
16908
  $at_times_p && times >"$at_times_file"
10664
16909
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
10665
16910
read at_status <"$at_status_file"
10666
 
#AT_STOP_187
10667
 
#AT_START_188
10668
 
at_fn_group_banner 188 'rpmpython.at:184' \
10669
 
  "database iterators" "                             " 13
 
16911
#AT_STOP_261
 
16912
#AT_START_262
 
16913
at_fn_group_banner 262 'rpmpython.at:184' \
 
16914
  "database iterators" "                             " 16
10670
16915
at_xfail=no
10671
16916
(
10672
 
  $as_echo "188. $at_setup_line: testing $at_desc ..."
 
16917
  $as_echo "262. $at_setup_line: testing $at_desc ..."
10673
16918
  $at_traceon
10674
16919
 
10675
16920
 
10991
17236
  $at_times_p && times >"$at_times_file"
10992
17237
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
10993
17238
read at_status <"$at_status_file"
10994
 
#AT_STOP_188
10995
 
#AT_START_189
10996
 
at_fn_group_banner 189 'rpmpython.at:256' \
10997
 
  "dependency sets 1" "                              " 13
 
17239
#AT_STOP_262
 
17240
#AT_START_263
 
17241
at_fn_group_banner 263 'rpmpython.at:256' \
 
17242
  "dependency sets 1" "                              " 16
10998
17243
at_xfail=no
10999
17244
(
11000
 
  $as_echo "189. $at_setup_line: testing $at_desc ..."
 
17245
  $as_echo "263. $at_setup_line: testing $at_desc ..."
11001
17246
  $at_traceon
11002
17247
 
11003
17248
 
11066
17311
  $at_times_p && times >"$at_times_file"
11067
17312
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
11068
17313
read at_status <"$at_status_file"
11069
 
#AT_STOP_189
11070
 
#AT_START_190
11071
 
at_fn_group_banner 190 'rpmpython.at:273' \
11072
 
  "dependency sets 2" "                              " 13
 
17314
#AT_STOP_263
 
17315
#AT_START_264
 
17316
at_fn_group_banner 264 'rpmpython.at:273' \
 
17317
  "dependency sets 2" "                              " 16
11073
17318
at_xfail=no
11074
17319
(
11075
 
  $as_echo "190. $at_setup_line: testing $at_desc ..."
 
17320
  $as_echo "264. $at_setup_line: testing $at_desc ..."
11076
17321
  $at_traceon
11077
17322
 
11078
17323
 
11133
17378
  $at_times_p && times >"$at_times_file"
11134
17379
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
11135
17380
read at_status <"$at_status_file"
11136
 
#AT_STOP_190
11137
 
#AT_START_191
11138
 
at_fn_group_banner 191 'rpmpython.at:283' \
11139
 
  "file info sets 1" "                               " 13
 
17381
#AT_STOP_264
 
17382
#AT_START_265
 
17383
at_fn_group_banner 265 'rpmpython.at:283' \
 
17384
  "file info sets 1" "                               " 16
11140
17385
at_xfail=no
11141
17386
(
11142
 
  $as_echo "191. $at_setup_line: testing $at_desc ..."
 
17387
  $as_echo "265. $at_setup_line: testing $at_desc ..."
11143
17388
  $at_traceon
11144
17389
 
11145
17390
 
11209
17454
  $at_times_p && times >"$at_times_file"
11210
17455
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
11211
17456
read at_status <"$at_status_file"
11212
 
#AT_STOP_191
11213
 
#AT_START_192
11214
 
at_fn_group_banner 192 'rpmdepmatch.at:4' \
11215
 
  "provide - require pairs" "                        " 14
 
17457
#AT_STOP_265
 
17458
#AT_START_266
 
17459
at_fn_group_banner 266 'rpmdepmatch.at:4' \
 
17460
  "provide - require pairs" "                        " 17
11216
17461
at_xfail=no
11217
17462
(
11218
 
  $as_echo "192. $at_setup_line: testing $at_desc ..."
 
17463
  $as_echo "266. $at_setup_line: testing $at_desc ..."
11219
17464
  $at_traceon
11220
17465
 
11221
17466
 
11736
17981
  $at_times_p && times >"$at_times_file"
11737
17982
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
11738
17983
read at_status <"$at_status_file"
11739
 
#AT_STOP_192
 
17984
#AT_STOP_266