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;
788
862
# List of the all the test groups.
789
863
at_groups_all=`$as_echo "$at_help_all" | sed 's/;.*//'`
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
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"
9043
at_fn_group_banner 161 'rpmconfig.at:7' \
9044
"rpm -U to package with unchanged config file" " " 11
9047
$as_echo "161. $at_setup_line: testing $at_desc ..."
9052
$as_echo "$at_srcdir/rpmconfig.at:9:
9054
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
9057
runroot rpm --initdb
9059
rm -rf \"\${TOPDIR}\"
9060
rm -rf \"\${RPMTEST}/etc/my.conf\"
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
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
9072
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:9"
9075
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
9078
runroot rpm --initdb
9081
rm -rf "${RPMTEST}/etc/my.conf"
9083
for v in "1.0" "2.0"; do
9084
runroot rpmbuild --quiet -bb \
9086
--define "filedata foo" \
9087
/data/SPECS/configtest.spec
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
9093
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
9094
at_status=$? at_failed=false
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
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"
9108
at_fn_group_banner 162 'rpmconfig.at:31' \
9109
"rpm -U to package with locally modified config file" "" 11
9112
$as_echo "162. $at_setup_line: testing $at_desc ..."
9117
$as_echo "$at_srcdir/rpmconfig.at:33:
9119
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
9122
runroot rpm --initdb
9124
rm -rf \"\${TOPDIR}\"
9125
rm -rf \"\${RPMTEST}/etc/my.conf\"
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
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
9138
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:33"
9141
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
9144
runroot rpm --initdb
9147
rm -rf "${RPMTEST}/etc/my.conf"
9149
for v in "1.0" "2.0"; do
9150
runroot rpmbuild --quiet -bb \
9152
--define "filedata foo" \
9153
/data/SPECS/configtest.spec
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
9160
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
9161
at_status=$? at_failed=false
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
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"
9175
at_fn_group_banner 163 'rpmconfig.at:56' \
9176
"rpm -U to package with unchanged config file" " " 11
9179
$as_echo "163. $at_setup_line: testing $at_desc ..."
9184
$as_echo "$at_srcdir/rpmconfig.at:58:
9186
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
9189
runroot rpm --initdb
9191
rm -rf \"\${TOPDIR}\"
9192
rm -rf \"\${RPMTEST}/etc/my.conf\"
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
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
9204
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:58"
9207
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
9210
runroot rpm --initdb
9213
rm -rf "${RPMTEST}/etc/my.conf"
9215
for v in "1.0" "2.0"; do
9216
runroot rpmbuild --quiet -bb \
9218
--define "filedata foo-$v" \
9219
/data/SPECS/configtest.spec
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
9225
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
9226
at_status=$? at_failed=false
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
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"
9240
at_fn_group_banner 164 'rpmconfig.at:80' \
9241
"rpm -U to package with modified config file" " " 11
9244
$as_echo "164. $at_setup_line: testing $at_desc ..."
9249
$as_echo "$at_srcdir/rpmconfig.at:82:
9251
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
9254
runroot rpm --initdb
9256
rm -rf \"\${TOPDIR}\"
9257
rm -rf \"\${RPMTEST}/etc/my.conf\"
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
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
9270
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:82"
9273
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
9276
runroot rpm --initdb
9279
rm -rf "${RPMTEST}/etc/my.conf"
9281
for v in "1.0" "2.0"; do
9282
runroot rpmbuild --quiet -bb \
9284
--define "filedata foo-$v" \
9285
/data/SPECS/configtest.spec
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
9292
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
9293
at_status=$? at_failed=false
9295
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
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
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"
9309
at_fn_group_banner 165 'rpmconfig.at:107' \
9310
"install/upgrade/erase ghost config" " " 11
9313
$as_echo "165. $at_setup_line: testing $at_desc ..."
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
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"
9675
at_fn_group_banner 169 'rpmreplace.at:4' \
9676
"upgrade to/from regular file" " " 11
9679
$as_echo "169. $at_setup_line: testing $at_desc ..."
9684
$as_echo "$at_srcdir/rpmreplace.at:6:
9686
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
9689
runroot rpm --initdb
9691
tf=\"\${RPMTEST}\"/opt/foo
9692
rm -rf \"\${tf}\" \"\${tf}\".rpm*
9693
rm -rf \"\${TOPDIR}\"
9695
runroot rpmbuild --quiet -bb \\
9696
--define \"ver 1.0\" \\
9697
--define \"filetype file\" \\
9698
--define \"filedata foo\" \\
9699
/data/SPECS/replacetest.spec
9701
runroot rpmbuild --quiet -bb \\
9702
--define \"ver 2.0\" \\
9703
--define \"filetype file\" \\
9704
--define \"filedata bar\" \\
9705
/data/SPECS/replacetest.spec
9707
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
9709
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
9711
runroot rpm -U --oldpackage \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
9714
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:6"
9717
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
9720
runroot rpm --initdb
9722
tf="${RPMTEST}"/opt/foo
9723
rm -rf "${tf}" "${tf}".rpm*
9726
runroot rpmbuild --quiet -bb \
9727
--define "ver 1.0" \
9728
--define "filetype file" \
9729
--define "filedata foo" \
9730
/data/SPECS/replacetest.spec
9732
runroot rpmbuild --quiet -bb \
9733
--define "ver 2.0" \
9734
--define "filetype file" \
9735
--define "filedata bar" \
9736
/data/SPECS/replacetest.spec
9738
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
9740
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
9742
runroot rpm -U --oldpackage "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
9745
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
9746
at_status=$? at_failed=false
9748
at_fn_diff_devnull "$at_stderr" || at_failed=:
9749
echo >>"$at_stdout"; $as_echo "foo
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
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"
9764
at_fn_group_banner 170 'rpmreplace.at:40' \
9765
"upgrade regular file to/from broken link" " " 11
9768
$as_echo "170. $at_setup_line: testing $at_desc ..."
9773
$as_echo "$at_srcdir/rpmreplace.at:42:
9775
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
9778
runroot rpm --initdb
9780
tf=\"\${RPMTEST}\"/opt/foo
9781
rm -rf \"\${RPMTEST}\"/opt/*
9782
rm -rf \"\${TOPDIR}\"
9784
runroot rpmbuild --quiet -bb \\
9785
--define \"ver 1.0\" \\
9786
--define \"filetype file\" \\
9787
--define \"filedata foo\" \\
9788
/data/SPECS/replacetest.spec
9790
runroot rpmbuild --quiet -bb \\
9791
--define \"ver 2.0\" \\
9792
--define \"filetype link\" \\
9793
--define \"filedata stuff\" \\
9794
/data/SPECS/replacetest.spec
9796
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
9798
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
9800
runroot rpm -U --oldpackage \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
9803
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:42"
9806
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
9809
runroot rpm --initdb
9811
tf="${RPMTEST}"/opt/foo
9812
rm -rf "${RPMTEST}"/opt/*
9815
runroot rpmbuild --quiet -bb \
9816
--define "ver 1.0" \
9817
--define "filetype file" \
9818
--define "filedata foo" \
9819
/data/SPECS/replacetest.spec
9821
runroot rpmbuild --quiet -bb \
9822
--define "ver 2.0" \
9823
--define "filetype link" \
9824
--define "filedata stuff" \
9825
/data/SPECS/replacetest.spec
9827
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
9829
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
9831
runroot rpm -U --oldpackage "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
9834
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
9835
at_status=$? at_failed=false
9837
at_fn_diff_devnull "$at_stderr" || at_failed=:
9838
echo >>"$at_stdout"; $as_echo "foo
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
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"
9853
at_fn_group_banner 171 'rpmreplace.at:76' \
9854
"upgrade regular file to/from file link" " " 11
9857
$as_echo "171. $at_setup_line: testing $at_desc ..."
9862
$as_echo "$at_srcdir/rpmreplace.at:78:
9864
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
9867
runroot rpm --initdb
9869
tf=\"\${RPMTEST}\"/opt/foo
9870
rm -rf \"\${RPMTEST}\"/opt/*
9871
rm -rf \"\${TOPDIR}\"
9873
runroot rpmbuild --quiet -bb \\
9874
--define \"ver 1.0\" \\
9875
--define \"filetype file\" \\
9876
--define \"filedata foo\" \\
9877
/data/SPECS/replacetest.spec
9879
runroot rpmbuild --quiet -bb \\
9880
--define \"ver 2.0\" \\
9881
--define \"filetype link\" \\
9882
--define \"filedata goo\" \\
9883
/data/SPECS/replacetest.spec
9885
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
9887
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
9889
runroot rpm -U --oldpackage \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
9892
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:78"
9895
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
9898
runroot rpm --initdb
9900
tf="${RPMTEST}"/opt/foo
9901
rm -rf "${RPMTEST}"/opt/*
9904
runroot rpmbuild --quiet -bb \
9905
--define "ver 1.0" \
9906
--define "filetype file" \
9907
--define "filedata foo" \
9908
/data/SPECS/replacetest.spec
9910
runroot rpmbuild --quiet -bb \
9911
--define "ver 2.0" \
9912
--define "filetype link" \
9913
--define "filedata goo" \
9914
/data/SPECS/replacetest.spec
9916
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
9918
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
9920
runroot rpm -U --oldpackage "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
9923
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
9924
at_status=$? at_failed=false
9926
at_fn_diff_devnull "$at_stderr" || at_failed=:
9927
echo >>"$at_stdout"; $as_echo "foo
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
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"
9942
at_fn_group_banner 172 'rpmreplace.at:112' \
9943
"upgrade broken link to broken link" " " 11
9946
$as_echo "172. $at_setup_line: testing $at_desc ..."
9951
$as_echo "$at_srcdir/rpmreplace.at:114:
9953
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
9956
runroot rpm --initdb
9958
tf=\"\${RPMTEST}\"/opt/foo
9959
rm -rf \"\${RPMTEST}\"/opt/*
9960
rm -rf \"\${TOPDIR}\"
9962
runroot rpmbuild --quiet -bb \\
9963
--define \"ver 1.0\" \\
9964
--define \"filetype link\" \\
9965
--define \"filedata stiff\" \\
9966
/data/SPECS/replacetest.spec
9968
runroot rpmbuild --quiet -bb \\
9969
--define \"ver 2.0\" \\
9970
--define \"filetype link\" \\
9971
--define \"filedata stuff\" \\
9972
/data/SPECS/replacetest.spec
9974
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
9976
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
9979
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:114"
9982
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
9985
runroot rpm --initdb
9987
tf="${RPMTEST}"/opt/foo
9988
rm -rf "${RPMTEST}"/opt/*
9991
runroot rpmbuild --quiet -bb \
9992
--define "ver 1.0" \
9993
--define "filetype link" \
9994
--define "filedata stiff" \
9995
/data/SPECS/replacetest.spec
9997
runroot rpmbuild --quiet -bb \
9998
--define "ver 2.0" \
9999
--define "filetype link" \
10000
--define "filedata stuff" \
10001
/data/SPECS/replacetest.spec
10003
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
10005
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
10008
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
10009
at_status=$? at_failed=false
10011
at_fn_diff_devnull "$at_stderr" || at_failed=:
10012
echo >>"$at_stdout"; $as_echo "stiff
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
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"
10026
at_fn_group_banner 173 'rpmreplace.at:145' \
10027
"upgrade file link to file link" " " 11
10030
$as_echo "173. $at_setup_line: testing $at_desc ..."
10035
$as_echo "$at_srcdir/rpmreplace.at:147:
10037
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
10040
runroot rpm --initdb
10042
tf=\"\${RPMTEST}\"/opt/foo
10043
rm -rf \"\${RPMTEST}\"/opt/*
10044
rm -rf \"\${TOPDIR}\"
10046
runroot rpmbuild --quiet -bb \\
10047
--define \"ver 1.0\" \\
10048
--define \"filetype link\" \\
10049
--define \"filedata goo\" \\
10050
/data/SPECS/replacetest.spec
10052
runroot rpmbuild --quiet -bb \\
10053
--define \"ver 2.0\" \\
10054
--define \"filetype link\" \\
10055
--define \"filedata goo\" \\
10056
/data/SPECS/replacetest.spec
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}\"
10063
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:147"
10066
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
10069
runroot rpm --initdb
10071
tf="${RPMTEST}"/opt/foo
10072
rm -rf "${RPMTEST}"/opt/*
10075
runroot rpmbuild --quiet -bb \
10076
--define "ver 1.0" \
10077
--define "filetype link" \
10078
--define "filedata goo" \
10079
/data/SPECS/replacetest.spec
10081
runroot rpmbuild --quiet -bb \
10082
--define "ver 2.0" \
10083
--define "filetype link" \
10084
--define "filedata goo" \
10085
/data/SPECS/replacetest.spec
10087
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
10089
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
10092
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
10093
at_status=$? at_failed=false
10095
at_fn_diff_devnull "$at_stderr" || at_failed=:
10096
echo >>"$at_stdout"; $as_echo "goo
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
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"
10110
at_fn_group_banner 174 'rpmreplace.at:178' \
10111
"upgrade directory link to directory link" " " 11
10114
$as_echo "174. $at_setup_line: testing $at_desc ..."
10119
$as_echo "$at_srcdir/rpmreplace.at:180:
10121
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
10124
runroot rpm --initdb
10126
tf=\"\${RPMTEST}\"/opt/foo
10127
rm -rf \"\${RPMTEST}\"/opt/*
10128
rm -rf \"\${TOPDIR}\"
10130
runroot rpmbuild --quiet -bb \\
10131
--define \"ver 1.0\" \\
10132
--define \"filetype link\" \\
10133
--define \"filedata zoo\" \\
10134
/data/SPECS/replacetest.spec
10136
runroot rpmbuild --quiet -bb \\
10137
--define \"ver 2.0\" \\
10138
--define \"filetype link\" \\
10139
--define \"filedata zoo\" \\
10140
/data/SPECS/replacetest.spec
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}\"
10147
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:180"
10150
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
10153
runroot rpm --initdb
10155
tf="${RPMTEST}"/opt/foo
10156
rm -rf "${RPMTEST}"/opt/*
10159
runroot rpmbuild --quiet -bb \
10160
--define "ver 1.0" \
10161
--define "filetype link" \
10162
--define "filedata zoo" \
10163
/data/SPECS/replacetest.spec
10165
runroot rpmbuild --quiet -bb \
10166
--define "ver 2.0" \
10167
--define "filetype link" \
10168
--define "filedata zoo" \
10169
/data/SPECS/replacetest.spec
10171
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
10173
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
10176
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
10177
at_status=$? at_failed=false
10179
at_fn_diff_devnull "$at_stderr" || at_failed=:
10180
echo >>"$at_stdout"; $as_echo "zoo
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
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"
10194
at_fn_group_banner 175 'rpmreplace.at:211' \
10195
"upgrade regular file to directory" " " 11
10198
$as_echo "175. $at_setup_line: testing $at_desc ..."
10203
$as_echo "$at_srcdir/rpmreplace.at:213:
10205
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
10208
runroot rpm --initdb
10210
tf=\"\${RPMTEST}\"/opt/foo
10211
rm -rf \"\${RPMTEST}\"/opt/*
10212
rm -rf \"\${TOPDIR}\"
10214
runroot rpmbuild --quiet -bb \\
10215
--define \"ver 1.0\" \\
10216
--define \"filetype file\" \\
10217
--define \"filedata foo\" \\
10218
/data/SPECS/replacetest.spec
10220
runroot rpmbuild --quiet -bb \\
10221
--define \"ver 2.0\" \\
10222
--define \"filetype dir\" \\
10223
/data/SPECS/replacetest.spec
10225
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
10227
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
10230
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:213"
10233
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
10236
runroot rpm --initdb
10238
tf="${RPMTEST}"/opt/foo
10239
rm -rf "${RPMTEST}"/opt/*
10242
runroot rpmbuild --quiet -bb \
10243
--define "ver 1.0" \
10244
--define "filetype file" \
10245
--define "filedata foo" \
10246
/data/SPECS/replacetest.spec
10248
runroot rpmbuild --quiet -bb \
10249
--define "ver 2.0" \
10250
--define "filetype dir" \
10251
/data/SPECS/replacetest.spec
10253
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
10255
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
10258
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
10259
at_status=$? at_failed=false
10261
at_fn_diff_devnull "$at_stderr" || at_failed=:
10262
echo >>"$at_stdout"; $as_echo "foo
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
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"
10275
at_fn_group_banner 176 'rpmreplace.at:242' \
10276
"upgrade broken link to directory" " " 11
10279
$as_echo "176. $at_setup_line: testing $at_desc ..."
10284
$as_echo "$at_srcdir/rpmreplace.at:244:
10286
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
10289
runroot rpm --initdb
10291
tf=\"\${RPMTEST}\"/opt/foo
10292
rm -rf \"\${RPMTEST}\"/opt/*
10293
rm -rf \"\${TOPDIR}\"
10295
runroot rpmbuild --quiet -bb \\
10296
--define \"ver 1.0\" \\
10297
--define \"filetype link\" \\
10298
--define \"filedata other\" \\
10299
/data/SPECS/replacetest.spec
10301
runroot rpmbuild --quiet -bb \\
10302
--define \"ver 2.0\" \\
10303
--define \"filetype dir\" \\
10304
/data/SPECS/replacetest.spec
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
10311
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:244"
10314
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
10317
runroot rpm --initdb
10319
tf="${RPMTEST}"/opt/foo
10320
rm -rf "${RPMTEST}"/opt/*
10323
runroot rpmbuild --quiet -bb \
10324
--define "ver 1.0" \
10325
--define "filetype link" \
10326
--define "filedata other" \
10327
/data/SPECS/replacetest.spec
10329
runroot rpmbuild --quiet -bb \
10330
--define "ver 2.0" \
10331
--define "filetype dir" \
10332
/data/SPECS/replacetest.spec
10334
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
10336
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
10339
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
10340
at_status=$? at_failed=false
10342
at_fn_diff_devnull "$at_stderr" || at_failed=:
10343
echo >>"$at_stdout"; $as_echo "other
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
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"
10356
at_fn_group_banner 177 'rpmreplace.at:273' \
10357
"upgrade file link to directory" " " 11
10360
$as_echo "177. $at_setup_line: testing $at_desc ..."
10365
$as_echo "$at_srcdir/rpmreplace.at:275:
10367
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
10370
runroot rpm --initdb
10372
tf=\"\${RPMTEST}\"/opt/foo
10373
rm -rf \"\${RPMTEST}\"/opt/*
10374
rm -rf \"\${TOPDIR}\"
10376
runroot rpmbuild --quiet -bb \\
10377
--define \"ver 1.0\" \\
10378
--define \"filetype link\" \\
10379
--define \"filedata goo\" \\
10380
/data/SPECS/replacetest.spec
10382
runroot rpmbuild --quiet -bb \\
10383
--define \"ver 2.0\" \\
10384
--define \"filetype dir\" \\
10385
/data/SPECS/replacetest.spec
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
10392
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:275"
10395
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
10398
runroot rpm --initdb
10400
tf="${RPMTEST}"/opt/foo
10401
rm -rf "${RPMTEST}"/opt/*
10404
runroot rpmbuild --quiet -bb \
10405
--define "ver 1.0" \
10406
--define "filetype link" \
10407
--define "filedata goo" \
10408
/data/SPECS/replacetest.spec
10410
runroot rpmbuild --quiet -bb \
10411
--define "ver 2.0" \
10412
--define "filetype dir" \
10413
/data/SPECS/replacetest.spec
10415
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
10417
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
10420
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
10421
at_status=$? at_failed=false
10423
at_fn_diff_devnull "$at_stderr" || at_failed=:
10424
echo >>"$at_stdout"; $as_echo "goo
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
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"
10437
at_fn_group_banner 178 'rpmreplace.at:304' \
10438
"upgrade directory link to directory" " " 11
10441
$as_echo "178. $at_setup_line: testing $at_desc ..."
10446
$as_echo "$at_srcdir/rpmreplace.at:306:
10448
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
10451
runroot rpm --initdb
10453
tf=\"\${RPMTEST}\"/opt/foo
10454
rm -rf \"\${RPMTEST}\"/opt/*
10455
rm -rf \"\${TOPDIR}\"
10457
runroot rpmbuild --quiet -bb \\
10458
--define \"ver 1.0\" \\
10459
--define \"filetype link\" \\
10460
--define \"filedata zoo\" \\
10461
/data/SPECS/replacetest.spec
10463
runroot rpmbuild --quiet -bb \\
10464
--define \"ver 2.0\" \\
10465
--define \"filetype dir\" \\
10466
/data/SPECS/replacetest.spec
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
10472
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:306"
10475
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
10478
runroot rpm --initdb
10480
tf="${RPMTEST}"/opt/foo
10481
rm -rf "${RPMTEST}"/opt/*
10484
runroot rpmbuild --quiet -bb \
10485
--define "ver 1.0" \
10486
--define "filetype link" \
10487
--define "filedata zoo" \
10488
/data/SPECS/replacetest.spec
10490
runroot rpmbuild --quiet -bb \
10491
--define "ver 2.0" \
10492
--define "filetype dir" \
10493
/data/SPECS/replacetest.spec
10495
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-1.0-1.noarch.rpm
10497
runroot rpm -U "${TOPDIR}"/RPMS/noarch/replacetest-2.0-1.noarch.rpm
10499
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
10500
at_status=$? at_failed=false
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
10504
$at_diff - "$at_stderr" || at_failed=:
10505
echo >>"$at_stdout"; $as_echo "zoo
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
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"
10518
at_fn_group_banner 179 'rpmreplace.at:335' \
10519
"upgrade empty directory to empty directory" " " 11
10522
$as_echo "179. $at_setup_line: testing $at_desc ..."
10527
$as_echo "$at_srcdir/rpmreplace.at:337:
10529
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
10532
runroot rpm --initdb
10534
tf=\"\${RPMTEST}\"/opt/foo
10535
rm -rf \"\${RPMTEST}\"/opt/*
10536
rm -rf \"\${TOPDIR}\"
10538
runroot rpmbuild --quiet -bb \\
10539
--define \"ver 1.0\" \\
10540
--define \"filetype dir\" \\
10541
/data/SPECS/replacetest.spec
10543
runroot rpmbuild --quiet -bb \\
10544
--define \"ver 2.0\" \\
10545
--define \"filetype dir\" \\
10546
/data/SPECS/replacetest.spec
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
10552
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:337"
10555
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
10558
runroot rpm --initdb
10560
tf="${RPMTEST}"/opt/foo
10561
rm -rf "${RPMTEST}"/opt/*
10564
runroot rpmbuild --quiet -bb \
10565
--define "ver 1.0" \
10566
--define "filetype dir" \
10567
/data/SPECS/replacetest.spec
10569
runroot rpmbuild --quiet -bb \
10570
--define "ver 2.0" \
10571
--define "filetype dir" \
10572
/data/SPECS/replacetest.spec
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
10578
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
10579
at_status=$? at_failed=false
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
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"
10593
at_fn_group_banner 180 'rpmreplace.at:363' \
10594
"upgrade empty directory to regular file" " " 11
10597
$as_echo "180. $at_setup_line: testing $at_desc ..."
10602
$as_echo "$at_srcdir/rpmreplace.at:365:
10604
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
10607
runroot rpm --initdb
10609
tf=\"\${RPMTEST}\"/opt/foo
10610
rm -rf \"\${RPMTEST}\"/opt/*
10611
rm -rf \"\${TOPDIR}\"
10613
runroot rpmbuild --quiet -bb \\
10614
--define \"ver 1.0\" \\
10615
--define \"filetype dir\" \\
10616
/data/SPECS/replacetest.spec
10618
runroot rpmbuild --quiet -bb \\
10619
--define \"ver 2.0\" \\
10620
--define \"filetype file\" \\
10621
--define \"filedata woot\" \\
10622
/data/SPECS/replacetest.spec
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
10627
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:365"
10630
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
10633
runroot rpm --initdb
10635
tf="${RPMTEST}"/opt/foo
10636
rm -rf "${RPMTEST}"/opt/*
10639
runroot rpmbuild --quiet -bb \
10640
--define "ver 1.0" \
10641
--define "filetype dir" \
10642
/data/SPECS/replacetest.spec
10644
runroot rpmbuild --quiet -bb \
10645
--define "ver 2.0" \
10646
--define "filetype file" \
10647
--define "filedata woot" \
10648
/data/SPECS/replacetest.spec
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
10653
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
10654
at_status=$? at_failed=false
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
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
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"
10670
at_fn_group_banner 181 'rpmreplace.at:392' \
10671
"upgrade locally symlinked directory" " " 11
10674
$as_echo "181. $at_setup_line: testing $at_desc ..."
10679
$as_echo "$at_srcdir/rpmreplace.at:394:
10681
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
10684
runroot rpm --initdb
10686
tf=\"\${RPMTEST}\"/opt/foo
10687
rm -rf \"\${RPMTEST}\"/opt/*
10688
rm -rf \"\${TOPDIR}\"
10690
runroot rpmbuild --quiet -bb \\
10691
--define \"ver 1.0\" \\
10692
--define \"filetype datadir\" \\
10693
--define \"filedata README1\" \\
10694
/data/SPECS/replacetest.spec
10696
runroot rpmbuild --quiet -bb \\
10697
--define \"ver 2.0\" \\
10698
--define \"filetype datadir\" \\
10699
--define \"filedata README2\" \\
10700
/data/SPECS/replacetest.spec
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}\"
10708
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:394"
10711
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
10714
runroot rpm --initdb
10716
tf="${RPMTEST}"/opt/foo
10717
rm -rf "${RPMTEST}"/opt/*
10720
runroot rpmbuild --quiet -bb \
10721
--define "ver 1.0" \
10722
--define "filetype datadir" \
10723
--define "filedata README1" \
10724
/data/SPECS/replacetest.spec
10726
runroot rpmbuild --quiet -bb \
10727
--define "ver 2.0" \
10728
--define "filetype datadir" \
10729
--define "filedata README2" \
10730
/data/SPECS/replacetest.spec
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}"
10738
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
10739
at_status=$? at_failed=false
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
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"
10753
at_fn_group_banner 182 'rpmreplace.at:424' \
10754
"upgrade empty directory to broken link" " " 11
10757
$as_echo "182. $at_setup_line: testing $at_desc ..."
10762
$as_echo "$at_srcdir/rpmreplace.at:426:
10764
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
10767
runroot rpm --initdb
10769
tf=\"\${RPMTEST}\"/opt/foo
10770
rm -rf \"\${RPMTEST}\"/opt/*
10771
rm -rf \"\${TOPDIR}\"
10773
runroot rpmbuild --quiet -bb \\
10774
--define \"ver 1.0\" \\
10775
--define \"filetype dir\" \\
10776
/data/SPECS/replacetest.spec
10778
runroot rpmbuild --quiet -bb \\
10779
--define \"ver 2.0\" \\
10780
--define \"filetype link\" \\
10781
--define \"filedata woot\" \\
10782
/data/SPECS/replacetest.spec
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
10787
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:426"
10790
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
10793
runroot rpm --initdb
10795
tf="${RPMTEST}"/opt/foo
10796
rm -rf "${RPMTEST}"/opt/*
10799
runroot rpmbuild --quiet -bb \
10800
--define "ver 1.0" \
10801
--define "filetype dir" \
10802
/data/SPECS/replacetest.spec
10804
runroot rpmbuild --quiet -bb \
10805
--define "ver 2.0" \
10806
--define "filetype link" \
10807
--define "filedata woot" \
10808
/data/SPECS/replacetest.spec
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
10813
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
10814
at_status=$? at_failed=false
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
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
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"
10830
at_fn_group_banner 183 'rpmreplace.at:453' \
10831
"upgrade empty directory to file link" " " 11
10834
$as_echo "183. $at_setup_line: testing $at_desc ..."
10839
$as_echo "$at_srcdir/rpmreplace.at:455:
10841
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
10844
runroot rpm --initdb
10846
tf=\"\${RPMTEST}\"/opt/foo
10847
rm -rf \"\${RPMTEST}\"/opt/*
10848
rm -rf \"\${TOPDIR}\"
10850
runroot rpmbuild --quiet -bb \\
10851
--define \"ver 1.0\" \\
10852
--define \"filetype dir\" \\
10853
/data/SPECS/replacetest.spec
10855
runroot rpmbuild --quiet -bb \\
10856
--define \"ver 2.0\" \\
10857
--define \"filetype link\" \\
10858
--define \"filedata woot\" \\
10859
/data/SPECS/replacetest.spec
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
10864
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:455"
10867
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
10870
runroot rpm --initdb
10872
tf="${RPMTEST}"/opt/foo
10873
rm -rf "${RPMTEST}"/opt/*
10876
runroot rpmbuild --quiet -bb \
10877
--define "ver 1.0" \
10878
--define "filetype dir" \
10879
/data/SPECS/replacetest.spec
10881
runroot rpmbuild --quiet -bb \
10882
--define "ver 2.0" \
10883
--define "filetype link" \
10884
--define "filedata woot" \
10885
/data/SPECS/replacetest.spec
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
10890
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
10891
at_status=$? at_failed=false
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
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
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"
10907
at_fn_group_banner 184 'rpmreplace.at:482' \
10908
"upgrade removed empty directory to file link" " " 11
10911
$as_echo "184. $at_setup_line: testing $at_desc ..."
10916
$as_echo "$at_srcdir/rpmreplace.at:484:
10918
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
10921
runroot rpm --initdb
10923
tf=\"\${RPMTEST}\"/opt/foo
10924
rm -rf \"\${RPMTEST}\"/opt/*
10925
rm -rf \"\${TOPDIR}\"
10927
runroot rpmbuild --quiet -bb \\
10928
--define \"ver 1.0\" \\
10929
--define \"filetype dir\" \\
10930
/data/SPECS/replacetest.spec
10932
runroot rpmbuild --quiet -bb \\
10933
--define \"ver 2.0\" \\
10934
--define \"filetype link\" \\
10935
--define \"filedata goo\" \\
10936
/data/SPECS/replacetest.spec
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}\"
10942
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:484"
10945
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
10948
runroot rpm --initdb
10950
tf="${RPMTEST}"/opt/foo
10951
rm -rf "${RPMTEST}"/opt/*
10954
runroot rpmbuild --quiet -bb \
10955
--define "ver 1.0" \
10956
--define "filetype dir" \
10957
/data/SPECS/replacetest.spec
10959
runroot rpmbuild --quiet -bb \
10960
--define "ver 2.0" \
10961
--define "filetype link" \
10962
--define "filedata goo" \
10963
/data/SPECS/replacetest.spec
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
10969
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
10970
at_status=$? at_failed=false
10972
at_fn_diff_devnull "$at_stderr" || at_failed=:
10973
echo >>"$at_stdout"; $as_echo "goo
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
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"
10986
at_fn_group_banner 185 'rpmreplace.at:512' \
10987
"upgrade replaced empty directory to file link" " " 11
10990
$as_echo "185. $at_setup_line: testing $at_desc ..."
10995
$as_echo "$at_srcdir/rpmreplace.at:514:
10997
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
11000
runroot rpm --initdb
11002
tf=\"\${RPMTEST}\"/opt/foo
11003
rm -rf \"\${RPMTEST}\"/opt/*
11004
rm -rf \"\${TOPDIR}\"
11006
runroot rpmbuild --quiet -bb \\
11007
--define \"ver 1.0\" \\
11008
--define \"filetype dir\" \\
11009
/data/SPECS/replacetest.spec
11011
runroot rpmbuild --quiet -bb \\
11012
--define \"ver 2.0\" \\
11013
--define \"filetype link\" \\
11014
--define \"filedata goo\" \\
11015
/data/SPECS/replacetest.spec
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}\"
11021
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:514"
11024
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
11027
runroot rpm --initdb
11029
tf="${RPMTEST}"/opt/foo
11030
rm -rf "${RPMTEST}"/opt/*
11033
runroot rpmbuild --quiet -bb \
11034
--define "ver 1.0" \
11035
--define "filetype dir" \
11036
/data/SPECS/replacetest.spec
11038
runroot rpmbuild --quiet -bb \
11039
--define "ver 2.0" \
11040
--define "filetype link" \
11041
--define "filedata goo" \
11042
/data/SPECS/replacetest.spec
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
11048
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
11049
at_status=$? at_failed=false
11051
at_fn_diff_devnull "$at_stderr" || at_failed=:
11052
echo >>"$at_stdout"; $as_echo "goo
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
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"
11065
at_fn_group_banner 186 'rpmreplace.at:542' \
11066
"upgrade empty directory to file link with pretrans" "" 11
11069
$as_echo "186. $at_setup_line: testing $at_desc ..."
11074
$as_echo "$at_srcdir/rpmreplace.at:544:
11076
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
11079
runroot rpm --initdb
11081
tf=\"\${RPMTEST}\"/opt/foo
11082
rm -rf \"\${RPMTEST}\"/opt/*
11083
rm -rf \"\${TOPDIR}\"
11085
runroot rpmbuild --quiet -bb \\
11086
--define \"ver 1.0\" \\
11087
--define \"filetype dir\" \\
11088
/data/SPECS/replacetest.spec
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
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}\"
11101
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmreplace.at:544"
11104
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
11107
runroot rpm --initdb
11109
tf="${RPMTEST}"/opt/foo
11110
rm -rf "${RPMTEST}"/opt/*
11113
runroot rpmbuild --quiet -bb \
11114
--define "ver 1.0" \
11115
--define "filetype dir" \
11116
/data/SPECS/replacetest.spec
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
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
11129
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
11130
at_status=$? at_failed=false
11132
at_fn_diff_devnull "$at_stderr" || at_failed=:
11133
echo >>"$at_stdout"; $as_echo "goo
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
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"
11146
at_fn_group_banner 187 'rpmconfig.at:6' \
11147
"install config on existiting file" " " 12
11150
$as_echo "187. $at_setup_line: testing $at_desc ..."
11155
$as_echo "$at_srcdir/rpmconfig.at:8:
11157
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
11160
runroot rpm --initdb
11162
cf=\"\${RPMTEST}\"/etc/my.conf
11163
rm -rf \"\${cf}\" \"\${cf}\".rpm*
11164
rm -rf \"\${TOPDIR}\"
11166
runroot rpmbuild --quiet -bb \\
11167
--define \"ver 1.0\" \\
11168
--define \"filedata foo\" \\
11169
/data/SPECS/configtest.spec
11171
echo \"otherstuff\" > \"\${cf}\"
11172
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11174
runroot rpm -e configtest
11175
cat \"\${cf}.rpmorig\"
11177
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:8"
11180
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
11183
runroot rpm --initdb
11185
cf="${RPMTEST}"/etc/my.conf
11186
rm -rf "${cf}" "${cf}".rpm*
11189
runroot rpmbuild --quiet -bb \
11190
--define "ver 1.0" \
11191
--define "filedata foo" \
11192
/data/SPECS/configtest.spec
11194
echo "otherstuff" > "${cf}"
11195
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11197
runroot rpm -e configtest
11198
cat "${cf}.rpmorig"
11200
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
11201
at_status=$? at_failed=false
11203
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmorig
11205
$at_diff - "$at_stderr" || at_failed=:
11206
echo >>"$at_stdout"; $as_echo "foo
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
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"
11220
at_fn_group_banner 188 'rpmconfig.at:35' \
11221
"install config(noreplace) on existiting file" " " 12
11224
$as_echo "188. $at_setup_line: testing $at_desc ..."
11229
$as_echo "$at_srcdir/rpmconfig.at:37:
11231
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
11234
runroot rpm --initdb
11236
cf=\"\${RPMTEST}\"/etc/my.conf
11237
rm -rf \"\${cf}\" \"\${cf}\".rpm*
11238
rm -rf \"\${TOPDIR}\"
11240
runroot rpmbuild --quiet -bb \\
11241
--define \"ver 1.0\" \\
11242
--define \"filedata foo\" \\
11243
/data/SPECS/configtest.spec
11245
echo \"otherstuff\" > \"\${cf}\"
11246
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11248
runroot rpm -e configtest
11249
cat \"\${cf}.rpmorig\"
11251
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:37"
11254
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
11257
runroot rpm --initdb
11259
cf="${RPMTEST}"/etc/my.conf
11260
rm -rf "${cf}" "${cf}".rpm*
11263
runroot rpmbuild --quiet -bb \
11264
--define "ver 1.0" \
11265
--define "filedata foo" \
11266
/data/SPECS/configtest.spec
11268
echo "otherstuff" > "${cf}"
11269
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11271
runroot rpm -e configtest
11272
cat "${cf}.rpmorig"
11274
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
11275
at_status=$? at_failed=false
11277
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmorig
11279
$at_diff - "$at_stderr" || at_failed=:
11280
echo >>"$at_stdout"; $as_echo "foo
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
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"
11294
at_fn_group_banner 189 'rpmconfig.at:64' \
11295
"install config on existiting identical file" " " 12
11298
$as_echo "189. $at_setup_line: testing $at_desc ..."
11303
$as_echo "$at_srcdir/rpmconfig.at:66:
11305
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
11308
runroot rpm --initdb
11310
cf=\"\${RPMTEST}\"/etc/my.conf
11311
rm -rf \"\${cf}\" \"\${cf}\".rpm*
11312
rm -rf \"\${TOPDIR}\"
11314
runroot rpmbuild --quiet -bb \\
11315
--define \"ver 1.0\" \\
11316
--define \"filedata foo\" \\
11317
/data/SPECS/configtest.spec
11319
echo \"foo\" > \"\${cf}\"
11320
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11322
runroot rpm -e configtest
11323
test ! -f \"\${cf}\"
11325
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:66"
11328
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
11331
runroot rpm --initdb
11333
cf="${RPMTEST}"/etc/my.conf
11334
rm -rf "${cf}" "${cf}".rpm*
11337
runroot rpmbuild --quiet -bb \
11338
--define "ver 1.0" \
11339
--define "filedata foo" \
11340
/data/SPECS/configtest.spec
11342
echo "foo" > "${cf}"
11343
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11345
runroot rpm -e configtest
11348
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
11349
at_status=$? at_failed=false
11351
at_fn_diff_devnull "$at_stderr" || at_failed=:
11352
echo >>"$at_stdout"; $as_echo "foo
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
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"
11365
at_fn_group_banner 190 'rpmconfig.at:91' \
11366
"erase unchanged config" " " 12
11369
$as_echo "190. $at_setup_line: testing $at_desc ..."
11374
$as_echo "$at_srcdir/rpmconfig.at:93:
11376
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
11379
runroot rpm --initdb
11381
cf=\"\${RPMTEST}\"/etc/my.conf
11382
rm -rf \"\${cf}\" \"\${cf}\".rpm*
11383
rm -rf \"\${TOPDIR}\"
11385
runroot rpmbuild --quiet -bb \\
11386
--define \"ver 1.0\" \\
11387
--define \"filedata foo\" \\
11388
/data/SPECS/configtest.spec
11390
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11392
runroot rpm -e configtest
11393
test ! -f \"\${cf}\"
11395
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:93"
11398
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
11401
runroot rpm --initdb
11403
cf="${RPMTEST}"/etc/my.conf
11404
rm -rf "${cf}" "${cf}".rpm*
11407
runroot rpmbuild --quiet -bb \
11408
--define "ver 1.0" \
11409
--define "filedata foo" \
11410
/data/SPECS/configtest.spec
11412
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11414
runroot rpm -e configtest
11417
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
11418
at_status=$? at_failed=false
11420
at_fn_diff_devnull "$at_stderr" || at_failed=:
11421
echo >>"$at_stdout"; $as_echo "foo
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
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"
11434
at_fn_group_banner 191 'rpmconfig.at:117' \
11435
"erase changed config" " " 12
11438
$as_echo "191. $at_setup_line: testing $at_desc ..."
11443
$as_echo "$at_srcdir/rpmconfig.at:119:
11445
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
11448
runroot rpm --initdb
11450
cf=\"\${RPMTEST}\"/etc/my.conf
11451
rm -rf \"\${cf}\" \"\${cf}\".rpm*
11452
rm -rf \"\${TOPDIR}\"
11454
runroot rpmbuild --quiet -bb \\
11455
--define \"ver 1.0\" \\
11456
--define \"filedata foo\" \\
11457
/data/SPECS/configtest.spec
11459
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11461
echo \"otherstuff\" > \"\${cf}\"
11462
runroot rpm -e configtest
11463
cat \"\${cf}.rpmsave\"
11464
test ! -f \"\${cf}\"
11466
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:119"
11469
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
11472
runroot rpm --initdb
11474
cf="${RPMTEST}"/etc/my.conf
11475
rm -rf "${cf}" "${cf}".rpm*
11478
runroot rpmbuild --quiet -bb \
11479
--define "ver 1.0" \
11480
--define "filedata foo" \
11481
/data/SPECS/configtest.spec
11483
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11485
echo "otherstuff" > "${cf}"
11486
runroot rpm -e configtest
11487
cat "${cf}.rpmsave"
11490
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
11491
at_status=$? at_failed=false
11493
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
11495
$at_diff - "$at_stderr" || at_failed=:
11496
echo >>"$at_stdout"; $as_echo "foo
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
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"
11510
at_fn_group_banner 192 'rpmconfig.at:147' \
11511
"erase changed config(noreplace)" " " 12
11514
$as_echo "192. $at_setup_line: testing $at_desc ..."
11519
$as_echo "$at_srcdir/rpmconfig.at:149:
11521
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
11524
runroot rpm --initdb
11526
cf=\"\${RPMTEST}\"/etc/my.conf
11527
rm -rf \"\${cf}\" \"\${cf}\".rpm*
11528
rm -rf \"\${TOPDIR}\"
11530
runroot rpmbuild --quiet -bb \\
11531
--define \"ver 1.0\" \\
11532
--define \"filedata foo\" \\
11533
--define \"noreplace 1\" \\
11534
/data/SPECS/configtest.spec
11536
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11538
echo \"otherstuff\" > \"\${cf}\"
11539
runroot rpm -e configtest
11540
cat \"\${cf}.rpmsave\"
11541
test ! -f \"\${cf}\"
11543
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:149"
11546
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
11549
runroot rpm --initdb
11551
cf="${RPMTEST}"/etc/my.conf
11552
rm -rf "${cf}" "${cf}".rpm*
11555
runroot rpmbuild --quiet -bb \
11556
--define "ver 1.0" \
11557
--define "filedata foo" \
11558
--define "noreplace 1" \
11559
/data/SPECS/configtest.spec
11561
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11563
echo "otherstuff" > "${cf}"
11564
runroot rpm -e configtest
11565
cat "${cf}.rpmsave"
11568
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
11569
at_status=$? at_failed=false
11571
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
11573
$at_diff - "$at_stderr" || at_failed=:
11574
echo >>"$at_stdout"; $as_echo "foo
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
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"
11588
at_fn_group_banner 193 'rpmconfig.at:179' \
11589
"upgrade unchanged config" " " 12
11592
$as_echo "193. $at_setup_line: testing $at_desc ..."
11597
$as_echo "$at_srcdir/rpmconfig.at:181:
11599
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
11602
runroot rpm --initdb
11604
cf=\"\${RPMTEST}\"/etc/my.conf
11605
rm -rf \"\${cf}\" \"\${cf}\".rpm*
11606
rm -rf \"\${TOPDIR}\"
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
11615
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11617
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
11620
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:181"
11623
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
11626
runroot rpm --initdb
11628
cf="${RPMTEST}"/etc/my.conf
11629
rm -rf "${cf}" "${cf}".rpm*
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
11639
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11641
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
11644
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
11645
at_status=$? at_failed=false
11647
at_fn_diff_devnull "$at_stderr" || at_failed=:
11648
echo >>"$at_stdout"; $as_echo "foo
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
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"
11662
at_fn_group_banner 194 'rpmconfig.at:209' \
11663
"upgrade modified config" " " 12
11666
$as_echo "194. $at_setup_line: testing $at_desc ..."
11671
$as_echo "$at_srcdir/rpmconfig.at:211:
11673
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
11676
runroot rpm --initdb
11678
cf=\"\${RPMTEST}\"/etc/my.conf
11679
rm -rf \"\${cf}\" \"\${cf}\".rpm*
11680
rm -rf \"\${TOPDIR}\"
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
11689
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11691
echo \"otherstuff\" > \"\${cf}\"
11693
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
11696
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:211"
11699
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
11702
runroot rpm --initdb
11704
cf="${RPMTEST}"/etc/my.conf
11705
rm -rf "${cf}" "${cf}".rpm*
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
11715
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11717
echo "otherstuff" > "${cf}"
11719
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
11722
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
11723
at_status=$? at_failed=false
11725
at_fn_diff_devnull "$at_stderr" || at_failed=:
11726
echo >>"$at_stdout"; $as_echo "foo
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
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"
11741
at_fn_group_banner 195 'rpmconfig.at:242' \
11742
"upgrade changing config" " " 12
11745
$as_echo "195. $at_setup_line: testing $at_desc ..."
11750
$as_echo "$at_srcdir/rpmconfig.at:244:
11752
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
11755
runroot rpm --initdb
11757
cf=\"\${RPMTEST}\"/etc/my.conf
11758
rm -rf \"\${cf}\" \"\${cf}\".rpm*
11759
rm -rf \"\${TOPDIR}\"
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
11768
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11770
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
11773
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:244"
11776
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
11779
runroot rpm --initdb
11781
cf="${RPMTEST}"/etc/my.conf
11782
rm -rf "${cf}" "${cf}".rpm*
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
11792
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11794
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
11797
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
11798
at_status=$? at_failed=false
11800
at_fn_diff_devnull "$at_stderr" || at_failed=:
11801
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
11815
at_fn_group_banner 196 'rpmconfig.at:272' \
11816
"upgrade changing, modified config 1" " " 12
11819
$as_echo "196. $at_setup_line: testing $at_desc ..."
11824
$as_echo "$at_srcdir/rpmconfig.at:274:
11826
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
11829
runroot rpm --initdb
11831
cf=\"\${RPMTEST}\"/etc/my.conf
11832
rm -rf \"\${cf}\" \"\${cf}\".rpm*
11833
rm -rf \"\${TOPDIR}\"
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
11842
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11844
echo \"otherstuff\" > \"\${RPMTEST}\"/etc/my.conf
11846
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
11848
cat \"\${cf}.rpmsave\"
11850
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:274"
11853
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
11856
runroot rpm --initdb
11858
cf="${RPMTEST}"/etc/my.conf
11859
rm -rf "${cf}" "${cf}".rpm*
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
11869
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11871
echo "otherstuff" > "${RPMTEST}"/etc/my.conf
11873
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
11875
cat "${cf}.rpmsave"
11877
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
11878
at_status=$? at_failed=false
11880
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
11882
$at_diff - "$at_stderr" || at_failed=:
11883
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
11899
at_fn_group_banner 197 'rpmconfig.at:308' \
11900
"upgrade changing, modified config 2" " " 12
11903
$as_echo "197. $at_setup_line: testing $at_desc ..."
11908
$as_echo "$at_srcdir/rpmconfig.at:310:
11910
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
11913
runroot rpm --initdb
11915
cf=\"\${RPMTEST}\"/etc/my.conf
11916
rm -rf \"\${cf}\" \"\${cf}\".rpm*
11917
rm -rf \"\${TOPDIR}\"
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
11926
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11928
echo \"foo-2.0\" > \"\${RPMTEST}\"/etc/my.conf
11930
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
11933
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:310"
11936
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
11939
runroot rpm --initdb
11941
cf="${RPMTEST}"/etc/my.conf
11942
rm -rf "${cf}" "${cf}".rpm*
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
11952
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
11954
echo "foo-2.0" > "${RPMTEST}"/etc/my.conf
11956
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
11959
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
11960
at_status=$? at_failed=false
11962
at_fn_diff_devnull "$at_stderr" || at_failed=:
11963
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
11978
at_fn_group_banner 198 'rpmconfig.at:343' \
11979
"upgrade unchanged config(noreplace)" " " 12
11982
$as_echo "198. $at_setup_line: testing $at_desc ..."
11987
$as_echo "$at_srcdir/rpmconfig.at:345:
11989
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
11992
runroot rpm --initdb
11994
cf=\"\${RPMTEST}\"/etc/my.conf
11995
rm -rf \"\${cf}\" \"\${cf}\".rpm*
11996
rm -rf \"\${TOPDIR}\"
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
12006
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
12008
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
12011
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:345"
12014
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
12017
runroot rpm --initdb
12019
cf="${RPMTEST}"/etc/my.conf
12020
rm -rf "${cf}" "${cf}".rpm*
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
12031
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
12033
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
12036
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
12037
at_status=$? at_failed=false
12039
at_fn_diff_devnull "$at_stderr" || at_failed=:
12040
echo >>"$at_stdout"; $as_echo "foo
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
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"
12054
at_fn_group_banner 199 'rpmconfig.at:375' \
12055
"upgrade modified config(noreplace)" " " 12
12058
$as_echo "199. $at_setup_line: testing $at_desc ..."
12063
$as_echo "$at_srcdir/rpmconfig.at:377:
12065
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
12068
runroot rpm --initdb
12070
cf=\"\${RPMTEST}\"/etc/my.conf
12071
rm -rf \"\${cf}\" \"\${cf}\".rpm*
12072
rm -rf \"\${TOPDIR}\"
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
12082
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
12084
echo \"otherstuff\" > \"\${cf}\"
12086
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
12089
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:377"
12092
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
12095
runroot rpm --initdb
12097
cf="${RPMTEST}"/etc/my.conf
12098
rm -rf "${cf}" "${cf}".rpm*
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
12109
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
12111
echo "otherstuff" > "${cf}"
12113
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
12116
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
12117
at_status=$? at_failed=false
12119
at_fn_diff_devnull "$at_stderr" || at_failed=:
12120
echo >>"$at_stdout"; $as_echo "foo
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
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"
12135
at_fn_group_banner 200 'rpmconfig.at:409' \
12136
"upgrade changing config(noreplace)" " " 12
12139
$as_echo "200. $at_setup_line: testing $at_desc ..."
12144
$as_echo "$at_srcdir/rpmconfig.at:411:
12146
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
12149
runroot rpm --initdb
12151
cf=\"\${RPMTEST}\"/etc/my.conf
12152
rm -rf \"\${cf}\" \"\${cf}\".rpm*
12153
rm -rf \"\${TOPDIR}\"
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
12163
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
12165
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
12168
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:411"
12171
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
12174
runroot rpm --initdb
12176
cf="${RPMTEST}"/etc/my.conf
12177
rm -rf "${cf}" "${cf}".rpm*
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
12188
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
12190
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
12193
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
12194
at_status=$? at_failed=false
12196
at_fn_diff_devnull "$at_stderr" || at_failed=:
12197
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
12211
at_fn_group_banner 201 'rpmconfig.at:440' \
12212
"upgrade changing, modified config(noreplace) 1" " " 12
12215
$as_echo "201. $at_setup_line: testing $at_desc ..."
12220
$as_echo "$at_srcdir/rpmconfig.at:442:
12222
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
12225
runroot rpm --initdb
12227
cf=\"\${RPMTEST}\"/etc/my.conf
12228
rm -rf \"\${cf}\" \"\${cf}\".rpm*
12229
rm -rf \"\${TOPDIR}\"
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
12239
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
12241
echo \"otherstuff\" > \"\${RPMTEST}\"/etc/my.conf
12243
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
12245
cat \"\${cf}.rpmnew\"
12247
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:442"
12250
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
12253
runroot rpm --initdb
12255
cf="${RPMTEST}"/etc/my.conf
12256
rm -rf "${cf}" "${cf}".rpm*
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
12267
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
12269
echo "otherstuff" > "${RPMTEST}"/etc/my.conf
12271
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
12275
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
12276
at_status=$? at_failed=false
12278
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf created as /etc/my.conf.rpmnew
12280
$at_diff - "$at_stderr" || at_failed=:
12281
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
12297
at_fn_group_banner 202 'rpmconfig.at:477' \
12298
"upgrade changing, modified config(noreplace) 2" " " 12
12301
$as_echo "202. $at_setup_line: testing $at_desc ..."
12306
$as_echo "$at_srcdir/rpmconfig.at:479:
12308
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
12311
runroot rpm --initdb
12313
cf=\"\${RPMTEST}\"/etc/my.conf
12314
rm -rf \"\${cf}\" \"\${cf}\".rpm*
12315
rm -rf \"\${TOPDIR}\"
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
12325
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
12327
echo \"foo-2.0\" > \"\${RPMTEST}\"/etc/my.conf
12329
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
12332
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:479"
12335
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
12338
runroot rpm --initdb
12340
cf="${RPMTEST}"/etc/my.conf
12341
rm -rf "${cf}" "${cf}".rpm*
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
12352
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
12354
echo "foo-2.0" > "${RPMTEST}"/etc/my.conf
12356
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
12359
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
12360
at_status=$? at_failed=false
12362
at_fn_diff_devnull "$at_stderr" || at_failed=:
12363
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
12378
at_fn_group_banner 203 'rpmconfig.at:512' \
12379
"upgrade unchanged shared config" " " 12
12382
$as_echo "203. $at_setup_line: testing $at_desc ..."
12387
$as_echo "$at_srcdir/rpmconfig.at:514:
12389
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
12392
runroot rpm --initdb
12394
cf=\"\${RPMTEST}\"/etc/my.conf
12395
rm -rf \"\${cf}\" \"\${cf}\".rpm*
12396
rm -rf \"\${TOPDIR}\"
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
12409
\"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
12410
\"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
12413
\"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
12414
\"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
12417
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:514"
12420
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
12423
runroot rpm --initdb
12425
cf="${RPMTEST}"/etc/my.conf
12426
rm -rf "${cf}" "${cf}".rpm*
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
12440
"${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
12441
"${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
12444
"${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
12445
"${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
12448
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
12449
at_status=$? at_failed=false
12451
at_fn_diff_devnull "$at_stderr" || at_failed=:
12452
echo >>"$at_stdout"; $as_echo "foo
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
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"
12467
at_fn_group_banner 204 'rpmconfig.at:550' \
12468
"upgrade modified shared config" " " 12
12471
$as_echo "204. $at_setup_line: testing $at_desc ..."
12476
$as_echo "$at_srcdir/rpmconfig.at:552:
12478
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
12481
runroot rpm --initdb
12483
cf=\"\${RPMTEST}\"/etc/my.conf
12484
rm -rf \"\${cf}\" \"\${cf}\".rpm*
12485
rm -rf \"\${TOPDIR}\"
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
12498
\"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
12499
\"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
12501
echo \"otherstuff\" > \"\${cf}\"
12504
\"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
12505
\"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
12508
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:552"
12511
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
12514
runroot rpm --initdb
12516
cf="${RPMTEST}"/etc/my.conf
12517
rm -rf "${cf}" "${cf}".rpm*
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
12531
"${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
12532
"${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
12534
echo "otherstuff" > "${cf}"
12537
"${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
12538
"${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
12541
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
12542
at_status=$? at_failed=false
12544
at_fn_diff_devnull "$at_stderr" || at_failed=:
12545
echo >>"$at_stdout"; $as_echo "foo
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
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"
12560
at_fn_group_banner 205 'rpmconfig.at:590' \
12561
"upgrade changing shared config" " " 12
12564
$as_echo "205. $at_setup_line: testing $at_desc ..."
12569
$as_echo "$at_srcdir/rpmconfig.at:592:
12571
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
12574
runroot rpm --initdb
12576
cf=\"\${RPMTEST}\"/etc/my.conf
12577
rm -rf \"\${cf}\" \"\${cf}\".rpm*
12578
rm -rf \"\${TOPDIR}\"
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
12591
\"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
12592
\"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
12595
\"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
12596
\"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
12599
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:592"
12602
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
12605
runroot rpm --initdb
12607
cf="${RPMTEST}"/etc/my.conf
12608
rm -rf "${cf}" "${cf}".rpm*
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
12622
"${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
12623
"${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
12626
"${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
12627
"${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
12630
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
12631
at_status=$? at_failed=false
12633
at_fn_diff_devnull "$at_stderr" || at_failed=:
12634
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
12648
at_fn_group_banner 206 'rpmconfig.at:627' \
12649
"upgrade changing, modified shared config 1" " " 12
12652
$as_echo "206. $at_setup_line: testing $at_desc ..."
12657
$as_echo "$at_srcdir/rpmconfig.at:629:
12659
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
12662
runroot rpm --initdb
12664
cf=\"\${RPMTEST}\"/etc/my.conf
12665
rm -rf \"\${cf}\" \"\${cf}\".rpm*
12666
rm -rf \"\${TOPDIR}\"
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
12679
\"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
12680
\"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
12682
echo \"otherstuff\" > \"\${RPMTEST}\"/etc/my.conf
12685
\"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
12686
\"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
12688
cat \"\${cf}.rpmsave\"
12690
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:629"
12693
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
12696
runroot rpm --initdb
12698
cf="${RPMTEST}"/etc/my.conf
12699
rm -rf "${cf}" "${cf}".rpm*
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
12713
"${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
12714
"${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
12716
echo "otherstuff" > "${RPMTEST}"/etc/my.conf
12719
"${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
12720
"${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
12722
cat "${cf}.rpmsave"
12724
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
12725
at_status=$? at_failed=false
12727
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
12729
$at_diff - "$at_stderr" || at_failed=:
12730
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
12746
at_fn_group_banner 207 'rpmconfig.at:670' \
12747
"upgrade changing, modified shared config 2" " " 12
12750
$as_echo "207. $at_setup_line: testing $at_desc ..."
12755
$as_echo "$at_srcdir/rpmconfig.at:672:
12757
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
12760
runroot rpm --initdb
12762
cf=\"\${RPMTEST}\"/etc/my.conf
12763
rm -rf \"\${cf}\" \"\${cf}\".rpm*
12764
rm -rf \"\${TOPDIR}\"
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
12777
\"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
12778
\"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
12780
echo \"foo-2.0\" > \"\${RPMTEST}\"/etc/my.conf
12783
\"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
12784
\"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
12787
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:672"
12790
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
12793
runroot rpm --initdb
12795
cf="${RPMTEST}"/etc/my.conf
12796
rm -rf "${cf}" "${cf}".rpm*
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
12810
"${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
12811
"${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
12813
echo "foo-2.0" > "${RPMTEST}"/etc/my.conf
12816
"${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
12817
"${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
12820
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
12821
at_status=$? at_failed=false
12823
at_fn_diff_devnull "$at_stderr" || at_failed=:
12824
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
12839
at_fn_group_banner 208 'rpmconfig.at:711' \
12840
"upgrade changing, modified shared config(noreplace) 1" "" 12
12843
$as_echo "208. $at_setup_line: testing $at_desc ..."
12848
$as_echo "$at_srcdir/rpmconfig.at:713:
12850
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
12853
runroot rpm --initdb
12855
cf=\"\${RPMTEST}\"/etc/my.conf
12856
rm -rf \"\${cf}\" \"\${cf}\".rpm*
12857
rm -rf \"\${TOPDIR}\"
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
12871
\"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
12872
\"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
12874
echo \"otherstuff\" > \"\${RPMTEST}\"/etc/my.conf
12877
\"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
12878
\"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
12880
cat \"\${cf}.rpmnew\"
12882
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:713"
12885
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
12888
runroot rpm --initdb
12890
cf="${RPMTEST}"/etc/my.conf
12891
rm -rf "${cf}" "${cf}".rpm*
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
12906
"${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
12907
"${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
12909
echo "otherstuff" > "${RPMTEST}"/etc/my.conf
12912
"${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
12913
"${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
12917
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
12918
at_status=$? at_failed=false
12920
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf created as /etc/my.conf.rpmnew
12922
$at_diff - "$at_stderr" || at_failed=:
12923
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
12939
at_fn_group_banner 209 'rpmconfig.at:755' \
12940
"upgrade changing, modified shared config(noreplace) 2" "" 12
12943
$as_echo "209. $at_setup_line: testing $at_desc ..."
12948
$as_echo "$at_srcdir/rpmconfig.at:757:
12950
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
12953
runroot rpm --initdb
12955
cf=\"\${RPMTEST}\"/etc/my.conf
12956
rm -rf \"\${cf}\" \"\${cf}\".rpm*
12957
rm -rf \"\${TOPDIR}\"
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
12971
\"\${TOPDIR}\"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \\
12972
\"\${TOPDIR}\"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
12974
echo \"foo-2.0\" > \"\${RPMTEST}\"/etc/my.conf
12977
\"\${TOPDIR}\"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \\
12978
\"\${TOPDIR}\"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
12981
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig.at:757"
12984
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
12987
runroot rpm --initdb
12989
cf="${RPMTEST}"/etc/my.conf
12990
rm -rf "${cf}" "${cf}".rpm*
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
13005
"${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
13006
"${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
13008
echo "foo-2.0" > "${RPMTEST}"/etc/my.conf
13011
"${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
13012
"${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
13015
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
13016
at_status=$? at_failed=false
13018
at_fn_diff_devnull "$at_stderr" || at_failed=:
13019
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
13034
at_fn_group_banner 210 'rpmconfig.at:796' \
13035
"install/upgrade/erase ghost config" " " 12
13038
$as_echo "210. $at_setup_line: testing $at_desc ..."
13043
$as_echo "$at_srcdir/rpmconfig.at:798:
9320
13045
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
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
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"
9423
at_fn_group_banner 166 'rpmmacro.at:6' \
9424
"simple rpm --eval" " " 12
9427
$as_echo "166. $at_setup_line: testing $at_desc ..."
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
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"
13148
at_fn_group_banner 211 'rpmconfig2.at:6' \
13149
"install config on existiting symlink" " " 13
13152
$as_echo "211. $at_setup_line: testing $at_desc ..."
13157
$as_echo "$at_srcdir/rpmconfig2.at:8:
13159
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
13162
runroot rpm --initdb
13164
cf=\"\${RPMTEST}\"/etc/my.conf
13165
rm -rf \"\${cf}\" \"\${cf}\".rpm*
13166
rm -rf \"\${TOPDIR}\"
13168
runroot rpmbuild --quiet -bb \\
13169
--define \"ver 1.0\" \\
13170
--define \"filedata foo\" \\
13171
--define \"filetype link\" \\
13172
/data/SPECS/configtest.spec
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\"
13180
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:8"
13183
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
13186
runroot rpm --initdb
13188
cf="${RPMTEST}"/etc/my.conf
13189
rm -rf "${cf}" "${cf}".rpm*
13192
runroot rpmbuild --quiet -bb \
13193
--define "ver 1.0" \
13194
--define "filedata foo" \
13195
--define "filetype link" \
13196
/data/SPECS/configtest.spec
13198
ln -s "otherstuff" "${cf}"
13199
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
13201
runroot rpm -e configtest
13202
readlink "${cf}.rpmorig"
13204
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
13205
at_status=$? at_failed=false
13207
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmorig
13209
$at_diff - "$at_stderr" || at_failed=:
13210
echo >>"$at_stdout"; $as_echo "foo
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
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"
13224
at_fn_group_banner 212 'rpmconfig2.at:36' \
13225
"install config on existiting identical link" " " 13
13228
$as_echo "212. $at_setup_line: testing $at_desc ..."
13233
$as_echo "$at_srcdir/rpmconfig2.at:38:
13235
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
13238
runroot rpm --initdb
13240
cf=\"\${RPMTEST}\"/etc/my.conf
13241
rm -rf \"\${cf}\" \"\${cf}\".rpm*
13242
rm -rf \"\${TOPDIR}\"
13244
runroot rpmbuild --quiet -bb \\
13245
--define \"ver 1.0\" \\
13246
--define \"filedata foo\" \\
13247
--define \"filetype link\" \\
13248
/data/SPECS/configtest.spec
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}\"
13257
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:38"
13260
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
13263
runroot rpm --initdb
13265
cf="${RPMTEST}"/etc/my.conf
13266
rm -rf "${cf}" "${cf}".rpm*
13269
runroot rpmbuild --quiet -bb \
13270
--define "ver 1.0" \
13271
--define "filedata foo" \
13272
--define "filetype link" \
13273
/data/SPECS/configtest.spec
13275
ln -s "foo" "${cf}"
13277
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
13279
runroot rpm -e configtest
13282
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
13283
at_status=$? at_failed=false
13285
at_fn_diff_devnull "$at_stderr" || at_failed=:
13286
echo >>"$at_stdout"; $as_echo "foo
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
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"
13300
at_fn_group_banner 213 'rpmconfig2.at:66' \
13301
"erase unchanged config link" " " 13
13304
$as_echo "213. $at_setup_line: testing $at_desc ..."
13309
$as_echo "$at_srcdir/rpmconfig2.at:68:
13311
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
13314
runroot rpm --initdb
13316
cf=\"\${RPMTEST}\"/etc/my.conf
13317
rm -rf \"\${cf}\" \"\${cf}\".rpm*
13318
rm -rf \"\${TOPDIR}\"
13320
runroot rpmbuild --quiet -bb \\
13321
--define \"ver 1.0\" \\
13322
--define \"filedata foo\" \\
13323
--define \"filetype link\" \\
13324
/data/SPECS/configtest.spec
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}\"
13331
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:68"
13334
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
13337
runroot rpm --initdb
13339
cf="${RPMTEST}"/etc/my.conf
13340
rm -rf "${cf}" "${cf}".rpm*
13343
runroot rpmbuild --quiet -bb \
13344
--define "ver 1.0" \
13345
--define "filedata foo" \
13346
--define "filetype link" \
13347
/data/SPECS/configtest.spec
13349
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
13351
runroot rpm -e configtest
13354
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
13355
at_status=$? at_failed=false
13357
at_fn_diff_devnull "$at_stderr" || at_failed=:
13358
echo >>"$at_stdout"; $as_echo "foo
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
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"
13371
at_fn_group_banner 214 'rpmconfig2.at:93' \
13372
"erase changed config link" " " 13
13375
$as_echo "214. $at_setup_line: testing $at_desc ..."
13380
$as_echo "$at_srcdir/rpmconfig2.at:95:
13382
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
13385
runroot rpm --initdb
13387
cf=\"\${RPMTEST}\"/etc/my.conf
13388
rm -rf \"\${cf}\" \"\${cf}\".rpm*
13389
rm -rf \"\${TOPDIR}\"
13391
runroot rpmbuild --quiet -bb \\
13392
--define \"ver 1.0\" \\
13393
--define \"filedata foo\" \\
13394
--define \"filetype link\" \\
13395
/data/SPECS/configtest.spec
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\"
13403
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:95"
13406
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
13409
runroot rpm --initdb
13411
cf="${RPMTEST}"/etc/my.conf
13412
rm -rf "${cf}" "${cf}".rpm*
13415
runroot rpmbuild --quiet -bb \
13416
--define "ver 1.0" \
13417
--define "filedata foo" \
13418
--define "filetype link" \
13419
/data/SPECS/configtest.spec
13421
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
13423
ln -sf "otherstuff" "${cf}"
13424
runroot rpm -e configtest
13425
readlink "${cf}.rpmsave"
13427
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
13428
at_status=$? at_failed=false
13430
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
13432
$at_diff - "$at_stderr" || at_failed=:
13433
echo >>"$at_stdout"; $as_echo "foo
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
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"
13447
at_fn_group_banner 215 'rpmconfig2.at:124' \
13448
"upgrade unchanged config link" " " 13
13451
$as_echo "215. $at_setup_line: testing $at_desc ..."
13456
$as_echo "$at_srcdir/rpmconfig2.at:126:
13458
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
13461
runroot rpm --initdb
13463
cf=\"\${RPMTEST}\"/etc/my.conf
13464
rm -rf \"\${cf}\" \"\${cf}\".rpm*
13465
rm -rf \"\${TOPDIR}\"
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
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}\"
13480
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:126"
13483
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
13486
runroot rpm --initdb
13488
cf="${RPMTEST}"/etc/my.conf
13489
rm -rf "${cf}" "${cf}".rpm*
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
13500
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
13502
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
13505
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
13506
at_status=$? at_failed=false
13508
at_fn_diff_devnull "$at_stderr" || at_failed=:
13509
echo >>"$at_stdout"; $as_echo "foo
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
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"
13523
at_fn_group_banner 216 'rpmconfig2.at:156' \
13524
"upgrade modified config link" " " 13
13527
$as_echo "216. $at_setup_line: testing $at_desc ..."
13532
$as_echo "$at_srcdir/rpmconfig2.at:158:
13534
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
13537
runroot rpm --initdb
13539
cf=\"\${RPMTEST}\"/etc/my.conf
13540
rm -rf \"\${cf}\" \"\${cf}\".rpm*
13541
rm -rf \"\${TOPDIR}\"
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
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}\"
13558
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:158"
13561
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
13564
runroot rpm --initdb
13566
cf="${RPMTEST}"/etc/my.conf
13567
rm -rf "${cf}" "${cf}".rpm*
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
13578
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
13580
ln -sf "otherstuff" "${cf}"
13582
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
13585
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
13586
at_status=$? at_failed=false
13588
at_fn_diff_devnull "$at_stderr" || at_failed=:
13589
echo >>"$at_stdout"; $as_echo "foo
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
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"
13604
at_fn_group_banner 217 'rpmconfig2.at:190' \
13605
"upgrade changing config link" " " 13
13608
$as_echo "217. $at_setup_line: testing $at_desc ..."
13613
$as_echo "$at_srcdir/rpmconfig2.at:192:
13615
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
13618
runroot rpm --initdb
13620
cf=\"\${RPMTEST}\"/etc/my.conf
13621
rm -rf \"\${cf}\" \"\${cf}\".rpm*
13622
rm -rf \"\${TOPDIR}\"
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
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}\"
13637
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:192"
13640
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
13643
runroot rpm --initdb
13645
cf="${RPMTEST}"/etc/my.conf
13646
rm -rf "${cf}" "${cf}".rpm*
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
13657
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
13659
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
13662
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
13663
at_status=$? at_failed=false
13665
at_fn_diff_devnull "$at_stderr" || at_failed=:
13666
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
13680
at_fn_group_banner 218 'rpmconfig2.at:221' \
13681
"upgrade changing, modified config link 1" " " 13
13684
$as_echo "218. $at_setup_line: testing $at_desc ..."
13689
$as_echo "$at_srcdir/rpmconfig2.at:223:
13691
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
13694
runroot rpm --initdb
13696
cf=\"\${RPMTEST}\"/etc/my.conf
13697
rm -rf \"\${cf}\" \"\${cf}\".rpm*
13698
rm -rf \"\${TOPDIR}\"
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
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\"
13716
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:223"
13719
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
13722
runroot rpm --initdb
13724
cf="${RPMTEST}"/etc/my.conf
13725
rm -rf "${cf}" "${cf}".rpm*
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
13736
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
13738
ln -sf "otherstuff" "${cf}"
13740
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
13742
readlink "${cf}.rpmsave"
13744
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
13745
at_status=$? at_failed=false
13747
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
13749
$at_diff - "$at_stderr" || at_failed=:
13750
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
13766
at_fn_group_banner 219 'rpmconfig2.at:258' \
13767
"upgrade changing, modified config link 2" " " 13
13770
$as_echo "219. $at_setup_line: testing $at_desc ..."
13775
$as_echo "$at_srcdir/rpmconfig2.at:260:
13777
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
13780
runroot rpm --initdb
13782
cf=\"\${RPMTEST}\"/etc/my.conf
13783
rm -rf \"\${cf}\" \"\${cf}\".rpm*
13784
rm -rf \"\${TOPDIR}\"
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
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}\"
13801
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:260"
13804
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
13807
runroot rpm --initdb
13809
cf="${RPMTEST}"/etc/my.conf
13810
rm -rf "${cf}" "${cf}".rpm*
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
13821
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
13823
ln -sf "foo-2.0" "${cf}"
13825
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
13828
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
13829
at_status=$? at_failed=false
13831
at_fn_diff_devnull "$at_stderr" || at_failed=:
13832
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
13847
at_fn_group_banner 220 'rpmconfig2.at:294' \
13848
"upgrade unchanged config(noreplace) link" " " 13
13851
$as_echo "220. $at_setup_line: testing $at_desc ..."
13856
$as_echo "$at_srcdir/rpmconfig2.at:296:
13858
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
13861
runroot rpm --initdb
13863
cf=\"\${RPMTEST}\"/etc/my.conf
13864
rm -rf \"\${cf}\" \"\${cf}\".rpm*
13865
rm -rf \"\${TOPDIR}\"
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
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}\"
13881
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:296"
13884
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
13887
runroot rpm --initdb
13889
cf="${RPMTEST}"/etc/my.conf
13890
rm -rf "${cf}" "${cf}".rpm*
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
13902
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
13904
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
13907
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
13908
at_status=$? at_failed=false
13910
at_fn_diff_devnull "$at_stderr" || at_failed=:
13911
echo >>"$at_stdout"; $as_echo "foo
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
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"
13925
at_fn_group_banner 221 'rpmconfig2.at:327' \
13926
"upgrade modified config(noreplace) link" " " 13
13929
$as_echo "221. $at_setup_line: testing $at_desc ..."
13934
$as_echo "$at_srcdir/rpmconfig2.at:329:
13936
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
13939
runroot rpm --initdb
13941
cf=\"\${RPMTEST}\"/etc/my.conf
13942
rm -rf \"\${cf}\" \"\${cf}\".rpm*
13943
rm -rf \"\${TOPDIR}\"
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
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}\"
13961
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:329"
13964
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
13967
runroot rpm --initdb
13969
cf="${RPMTEST}"/etc/my.conf
13970
rm -rf "${cf}" "${cf}".rpm*
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
13982
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
13984
ln -sf "otherstuff" "${cf}"
13986
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
13989
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
13990
at_status=$? at_failed=false
13992
at_fn_diff_devnull "$at_stderr" || at_failed=:
13993
echo >>"$at_stdout"; $as_echo "foo
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
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"
14008
at_fn_group_banner 222 'rpmconfig2.at:362' \
14009
"upgrade changing config(noreplace) link" " " 13
14012
$as_echo "222. $at_setup_line: testing $at_desc ..."
14017
$as_echo "$at_srcdir/rpmconfig2.at:364:
14019
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
14022
runroot rpm --initdb
14024
cf=\"\${RPMTEST}\"/etc/my.conf
14025
rm -rf \"\${cf}\" \"\${cf}\".rpm*
14026
rm -rf \"\${TOPDIR}\"
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
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}\"
14042
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:364"
14045
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
14048
runroot rpm --initdb
14050
cf="${RPMTEST}"/etc/my.conf
14051
rm -rf "${cf}" "${cf}".rpm*
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
14063
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
14065
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
14068
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
14069
at_status=$? at_failed=false
14071
at_fn_diff_devnull "$at_stderr" || at_failed=:
14072
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
14086
at_fn_group_banner 223 'rpmconfig2.at:394' \
14087
"upgrade changing, modified config(noreplace) link 1" "" 13
14090
$as_echo "223. $at_setup_line: testing $at_desc ..."
14095
$as_echo "$at_srcdir/rpmconfig2.at:396:
14097
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
14100
runroot rpm --initdb
14102
cf=\"\${RPMTEST}\"/etc/my.conf
14103
rm -rf \"\${cf}\" \"\${cf}\".rpm*
14104
rm -rf \"\${TOPDIR}\"
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
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\"
14123
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:396"
14126
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
14129
runroot rpm --initdb
14131
cf="${RPMTEST}"/etc/my.conf
14132
rm -rf "${cf}" "${cf}".rpm*
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
14144
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
14146
ln -sf "otherstuff" "${cf}"
14148
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
14150
readlink "${cf}.rpmnew"
14152
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
14153
at_status=$? at_failed=false
14155
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf created as /etc/my.conf.rpmnew
14157
$at_diff - "$at_stderr" || at_failed=:
14158
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
14174
at_fn_group_banner 224 'rpmconfig2.at:432' \
14175
"upgrade changing, modified config(noreplace) link 2" "" 13
14178
$as_echo "224. $at_setup_line: testing $at_desc ..."
14183
$as_echo "$at_srcdir/rpmconfig2.at:434:
14185
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
14188
runroot rpm --initdb
14190
cf=\"\${RPMTEST}\"/etc/my.conf
14191
rm -rf \"\${cf}\" \"\${cf}\".rpm*
14192
rm -rf \"\${TOPDIR}\"
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
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\"
14211
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:434"
14214
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
14217
runroot rpm --initdb
14219
cf="${RPMTEST}"/etc/my.conf
14220
rm -rf "${cf}" "${cf}".rpm*
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
14232
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
14234
ln -sf "foo-2.0" "${cf}"
14236
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
14238
test ! -L "${cf}.rpmnew"
14240
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
14241
at_status=$? at_failed=false
14243
at_fn_diff_devnull "$at_stderr" || at_failed=:
14244
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
14259
at_fn_group_banner 225 'rpmconfig2.at:469' \
14260
"upgrade unchanged shared config link" " " 13
14263
$as_echo "225. $at_setup_line: testing $at_desc ..."
14268
$as_echo "$at_srcdir/rpmconfig2.at:471:
14270
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
14273
runroot rpm --initdb
14275
cf=\"\${RPMTEST}\"/etc/my.conf
14276
rm -rf \"\${cf}\" \"\${cf}\".rpm*
14277
rm -rf \"\${TOPDIR}\"
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
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}\"
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}\"
14299
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:471"
14302
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
14305
runroot rpm --initdb
14307
cf="${RPMTEST}"/etc/my.conf
14308
rm -rf "${cf}" "${cf}".rpm*
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
14323
"${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
14324
"${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
14327
"${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
14328
"${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
14331
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
14332
at_status=$? at_failed=false
14334
at_fn_diff_devnull "$at_stderr" || at_failed=:
14335
echo >>"$at_stdout"; $as_echo "foo
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
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"
14350
at_fn_group_banner 226 'rpmconfig2.at:508' \
14351
"upgrade modified shared config link" " " 13
14354
$as_echo "226. $at_setup_line: testing $at_desc ..."
14359
$as_echo "$at_srcdir/rpmconfig2.at:510:
14361
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
14364
runroot rpm --initdb
14366
cf=\"\${RPMTEST}\"/etc/my.conf
14367
rm -rf \"\${cf}\" \"\${cf}\".rpm*
14368
rm -rf \"\${TOPDIR}\"
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
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}\"
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}\"
14392
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:510"
14395
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
14398
runroot rpm --initdb
14400
cf="${RPMTEST}"/etc/my.conf
14401
rm -rf "${cf}" "${cf}".rpm*
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
14416
"${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
14417
"${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
14419
ln -sf "otherstuff" "${cf}"
14422
"${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
14423
"${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
14426
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
14427
at_status=$? at_failed=false
14429
at_fn_diff_devnull "$at_stderr" || at_failed=:
14430
echo >>"$at_stdout"; $as_echo "foo
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
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"
14445
at_fn_group_banner 227 'rpmconfig2.at:549' \
14446
"upgrade changing shared config link" " " 13
14449
$as_echo "227. $at_setup_line: testing $at_desc ..."
14454
$as_echo "$at_srcdir/rpmconfig2.at:551:
14456
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
14459
runroot rpm --initdb
14461
cf=\"\${RPMTEST}\"/etc/my.conf
14462
rm -rf \"\${cf}\" \"\${cf}\".rpm*
14463
rm -rf \"\${TOPDIR}\"
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
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}\"
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}\"
14485
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:551"
14488
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
14491
runroot rpm --initdb
14493
cf="${RPMTEST}"/etc/my.conf
14494
rm -rf "${cf}" "${cf}".rpm*
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
14509
"${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
14510
"${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
14513
"${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
14514
"${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
14517
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
14518
at_status=$? at_failed=false
14520
at_fn_diff_devnull "$at_stderr" || at_failed=:
14521
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
14535
at_fn_group_banner 228 'rpmconfig2.at:587' \
14536
"upgrade changing, modified shared config link 1" "" 13
14539
$as_echo "228. $at_setup_line: testing $at_desc ..."
14544
$as_echo "$at_srcdir/rpmconfig2.at:589:
14546
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
14549
runroot rpm --initdb
14551
cf=\"\${RPMTEST}\"/etc/my.conf
14552
rm -rf \"\${cf}\" \"\${cf}\".rpm*
14553
rm -rf \"\${TOPDIR}\"
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
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}\"
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\"
14578
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:589"
14581
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
14584
runroot rpm --initdb
14586
cf="${RPMTEST}"/etc/my.conf
14587
rm -rf "${cf}" "${cf}".rpm*
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
14602
"${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
14603
"${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
14605
ln -sf "otherstuff" "${cf}"
14608
"${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
14609
"${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
14611
readlink "${cf}.rpmsave"
14613
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
14614
at_status=$? at_failed=false
14616
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
14618
$at_diff - "$at_stderr" || at_failed=:
14619
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
14635
at_fn_group_banner 229 'rpmconfig2.at:631' \
14636
"upgrade changing, modified shared config link 2" "" 13
14639
$as_echo "229. $at_setup_line: testing $at_desc ..."
14644
$as_echo "$at_srcdir/rpmconfig2.at:633:
14646
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
14649
runroot rpm --initdb
14651
cf=\"\${RPMTEST}\"/etc/my.conf
14652
rm -rf \"\${cf}\" \"\${cf}\".rpm*
14653
rm -rf \"\${TOPDIR}\"
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
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}\"
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}\"
14677
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:633"
14680
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
14683
runroot rpm --initdb
14685
cf="${RPMTEST}"/etc/my.conf
14686
rm -rf "${cf}" "${cf}".rpm*
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
14701
"${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
14702
"${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
14704
ln -sf "foo-2.0" "${cf}"
14707
"${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
14708
"${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
14711
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
14712
at_status=$? at_failed=false
14714
at_fn_diff_devnull "$at_stderr" || at_failed=:
14715
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
14730
at_fn_group_banner 230 'rpmconfig2.at:673' \
14731
"upgrade changing, modified shared config(noreplace) link 1" "" 13
14734
$as_echo "230. $at_setup_line: testing $at_desc ..."
14739
$as_echo "$at_srcdir/rpmconfig2.at:675:
14741
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
14744
runroot rpm --initdb
14746
cf=\"\${RPMTEST}\"/etc/my.conf
14747
rm -rf \"\${cf}\" \"\${cf}\".rpm*
14748
rm -rf \"\${TOPDIR}\"
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
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}\"
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\"
14774
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:675"
14777
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
14780
runroot rpm --initdb
14782
cf="${RPMTEST}"/etc/my.conf
14783
rm -rf "${cf}" "${cf}".rpm*
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
14799
"${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
14800
"${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
14802
ln -sf "otherstuff" "${cf}"
14805
"${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
14806
"${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
14808
readlink "${cf}.rpmnew"
14810
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
14811
at_status=$? at_failed=false
14813
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf created as /etc/my.conf.rpmnew
14815
$at_diff - "$at_stderr" || at_failed=:
14816
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
14832
at_fn_group_banner 231 'rpmconfig2.at:718' \
14833
"upgrade changing, modified shared config(noreplace) link 2" "" 13
14836
$as_echo "231. $at_setup_line: testing $at_desc ..."
14841
$as_echo "$at_srcdir/rpmconfig2.at:720:
14843
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
14846
runroot rpm --initdb
14848
cf=\"\${RPMTEST}\"/etc/my.conf
14849
rm -rf \"\${cf}\" \"\${cf}\".rpm*
14850
rm -rf \"\${TOPDIR}\"
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
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}\"
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\"
14876
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig2.at:720"
14879
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
14882
runroot rpm --initdb
14884
cf="${RPMTEST}"/etc/my.conf
14885
rm -rf "${cf}" "${cf}".rpm*
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
14901
"${TOPDIR}"/RPMS/noarch/configtest-A-1.0-1.noarch.rpm \
14902
"${TOPDIR}"/RPMS/noarch/configtest-B-1.0-1.noarch.rpm
14904
ln -sf "foo-2.0" "${cf}"
14907
"${TOPDIR}"/RPMS/noarch/configtest-A-2.0-1.noarch.rpm \
14908
"${TOPDIR}"/RPMS/noarch/configtest-B-2.0-1.noarch.rpm
14910
test ! -L "${cf}.rpmnew"
14912
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
14913
at_status=$? at_failed=false
14915
at_fn_diff_devnull "$at_stderr" || at_failed=:
14916
echo >>"$at_stdout"; $as_echo "foo-1.0
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
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"
14931
at_fn_group_banner 232 'rpmconfig3.at:6' \
14932
"upgrade config to/from non-config" " " 14
14935
$as_echo "232. $at_setup_line: testing $at_desc ..."
14940
$as_echo "$at_srcdir/rpmconfig3.at:8:
14942
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
14945
runroot rpm --initdb
14947
cf=\"\${RPMTEST}\"/etc/my.conf
14948
rm -rf \"\${cf}\" \"\${cf}\".rpm*
14949
rm -rf \"\${TOPDIR}\"
14951
runroot rpmbuild --quiet -bb \\
14952
--define \"ver 1.0\" \\
14953
--define \"filetype file\" \\
14954
--define \"filedata foo\" \\
14955
/data/SPECS/configtest.spec
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
14964
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
14966
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
14968
runroot rpm -U --oldpackage \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
14971
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig3.at:8"
14974
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
14977
runroot rpm --initdb
14979
cf="${RPMTEST}"/etc/my.conf
14980
rm -rf "${cf}" "${cf}".rpm*
14983
runroot rpmbuild --quiet -bb \
14984
--define "ver 1.0" \
14985
--define "filetype file" \
14986
--define "filedata foo" \
14987
/data/SPECS/configtest.spec
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
14996
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
14998
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
15000
runroot rpm -U --oldpackage "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15003
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
15004
at_status=$? at_failed=false
15006
at_fn_diff_devnull "$at_stderr" || at_failed=:
15007
echo >>"$at_stdout"; $as_echo "foo
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
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"
15022
at_fn_group_banner 233 'rpmconfig3.at:44' \
15023
"upgrade modified config to/from non-config 1" " " 14
15026
$as_echo "233. $at_setup_line: testing $at_desc ..."
15031
$as_echo "$at_srcdir/rpmconfig3.at:46:
15033
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
15036
runroot rpm --initdb
15038
cf=\"\${RPMTEST}\"/etc/my.conf
15039
rm -rf \"\${cf}\" \"\${cf}\".rpm*
15040
rm -rf \"\${TOPDIR}\"
15042
runroot rpmbuild --quiet -bb \\
15043
--define \"ver 1.0\" \\
15044
--define \"filetype file\" \\
15045
--define \"filedata foo\" \\
15046
/data/SPECS/configtest.spec
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
15055
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15057
echo \"otherstuff\" > \"\${cf}\"
15059
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
15061
cat \"\${cf}.rpmsave\"
15062
runroot rpm -U --oldpackage \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15065
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig3.at:46"
15068
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
15071
runroot rpm --initdb
15073
cf="${RPMTEST}"/etc/my.conf
15074
rm -rf "${cf}" "${cf}".rpm*
15077
runroot rpmbuild --quiet -bb \
15078
--define "ver 1.0" \
15079
--define "filetype file" \
15080
--define "filedata foo" \
15081
/data/SPECS/configtest.spec
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
15090
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15092
echo "otherstuff" > "${cf}"
15094
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
15096
cat "${cf}.rpmsave"
15097
runroot rpm -U --oldpackage "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15100
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
15101
at_status=$? at_failed=false
15103
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
15105
$at_diff - "$at_stderr" || at_failed=:
15106
echo >>"$at_stdout"; $as_echo "foo
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
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"
15123
at_fn_group_banner 234 'rpmconfig3.at:88' \
15124
"upgrade modified config to/from non-config 2" " " 14
15127
$as_echo "234. $at_setup_line: testing $at_desc ..."
15132
$as_echo "$at_srcdir/rpmconfig3.at:90:
15134
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
15137
runroot rpm --initdb
15139
cf=\"\${RPMTEST}\"/etc/my.conf
15140
rm -rf \"\${cf}\" \"\${cf}\".rpm*
15141
rm -rf \"\${TOPDIR}\"
15143
runroot rpmbuild --quiet -bb \\
15144
--define \"ver 1.0\" \\
15145
--define \"filetype file\" \\
15146
--define \"filedata foo\" \\
15147
/data/SPECS/configtest.spec
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
15156
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15158
echo \"bar\" > \"\${cf}\"
15160
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
15162
runroot rpm -U --oldpackage \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15165
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig3.at:90"
15168
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
15171
runroot rpm --initdb
15173
cf="${RPMTEST}"/etc/my.conf
15174
rm -rf "${cf}" "${cf}".rpm*
15177
runroot rpmbuild --quiet -bb \
15178
--define "ver 1.0" \
15179
--define "filetype file" \
15180
--define "filedata foo" \
15181
/data/SPECS/configtest.spec
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
15190
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15192
echo "bar" > "${cf}"
15194
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
15196
runroot rpm -U --oldpackage "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15199
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
15200
at_status=$? at_failed=false
15202
at_fn_diff_devnull "$at_stderr" || at_failed=:
15203
echo >>"$at_stdout"; $as_echo "foo
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
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"
15219
at_fn_group_banner 235 'rpmconfig3.at:129' \
15220
"upgrade config to/from config link" " " 14
15223
$as_echo "235. $at_setup_line: testing $at_desc ..."
15228
$as_echo "$at_srcdir/rpmconfig3.at:131:
15230
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
15233
runroot rpm --initdb
15235
cf=\"\${RPMTEST}\"/etc/my.conf
15236
rm -rf \"\${cf}\" \"\${cf}\".rpm*
15237
rm -rf \"\${TOPDIR}\"
15239
runroot rpmbuild --quiet -bb \\
15240
--define \"ver 1.0\" \\
15241
--define \"filetype file\" \\
15242
--define \"filedata foo\" \\
15243
/data/SPECS/configtest.spec
15245
runroot rpmbuild --quiet -bb \\
15246
--define \"ver 2.0\" \\
15247
--define \"filetype link\" \\
15248
--define \"filedata bar\" \\
15249
/data/SPECS/configtest.spec
15251
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
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
15258
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig3.at:131"
15261
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
15264
runroot rpm --initdb
15266
cf="${RPMTEST}"/etc/my.conf
15267
rm -rf "${cf}" "${cf}".rpm*
15270
runroot rpmbuild --quiet -bb \
15271
--define "ver 1.0" \
15272
--define "filetype file" \
15273
--define "filedata foo" \
15274
/data/SPECS/configtest.spec
15276
runroot rpmbuild --quiet -bb \
15277
--define "ver 2.0" \
15278
--define "filetype link" \
15279
--define "filedata bar" \
15280
/data/SPECS/configtest.spec
15282
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15284
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
15286
runroot rpm -U --oldpackage "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15289
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
15290
at_status=$? at_failed=false
15292
at_fn_diff_devnull "$at_stderr" || at_failed=:
15293
echo >>"$at_stdout"; $as_echo "foo
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
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"
15308
at_fn_group_banner 236 'rpmconfig3.at:166' \
15309
"upgrade modified config to config link" " " 14
15312
$as_echo "236. $at_setup_line: testing $at_desc ..."
15317
$as_echo "$at_srcdir/rpmconfig3.at:168:
15319
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
15322
runroot rpm --initdb
15324
cf=\"\${RPMTEST}\"/etc/my.conf
15325
rm -rf \"\${cf}\" \"\${cf}\".rpm*
15326
rm -rf \"\${TOPDIR}\"
15328
runroot rpmbuild --quiet -bb \\
15329
--define \"ver 1.0\" \\
15330
--define \"filetype file\" \\
15331
--define \"filedata foo\" \\
15332
/data/SPECS/configtest.spec
15334
runroot rpmbuild --quiet -bb \\
15335
--define \"ver 2.0\" \\
15336
--define \"filetype link\" \\
15337
--define \"filedata bar\" \\
15338
/data/SPECS/configtest.spec
15340
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15342
echo \"otherstuff\" > \"\${cf}\"
15344
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
15345
readlink \"\${cf}\"
15346
cat \"\${cf}.rpmsave\"
15348
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig3.at:168"
15351
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
15354
runroot rpm --initdb
15356
cf="${RPMTEST}"/etc/my.conf
15357
rm -rf "${cf}" "${cf}".rpm*
15360
runroot rpmbuild --quiet -bb \
15361
--define "ver 1.0" \
15362
--define "filetype file" \
15363
--define "filedata foo" \
15364
/data/SPECS/configtest.spec
15366
runroot rpmbuild --quiet -bb \
15367
--define "ver 2.0" \
15368
--define "filetype link" \
15369
--define "filedata bar" \
15370
/data/SPECS/configtest.spec
15372
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15374
echo "otherstuff" > "${cf}"
15376
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
15378
cat "${cf}.rpmsave"
15380
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
15381
at_status=$? at_failed=false
15383
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
15385
$at_diff - "$at_stderr" || at_failed=:
15386
echo >>"$at_stdout"; $as_echo "foo
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
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"
15402
at_fn_group_banner 237 'rpmconfig3.at:206' \
15403
"upgrade modified config link to config" " " 14
15406
$as_echo "237. $at_setup_line: testing $at_desc ..."
15411
$as_echo "$at_srcdir/rpmconfig3.at:208:
15413
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
15416
runroot rpm --initdb
15418
cf=\"\${RPMTEST}\"/etc/my.conf
15419
rm -rf \"\${cf}\" \"\${cf}\".rpm*
15420
rm -rf \"\${TOPDIR}\"
15422
runroot rpmbuild --quiet -bb \\
15423
--define \"ver 1.0\" \\
15424
--define \"filetype link\" \\
15425
--define \"filedata foo\" \\
15426
/data/SPECS/configtest.spec
15428
runroot rpmbuild --quiet -bb \\
15429
--define \"ver 2.0\" \\
15430
--define \"filetype file\" \\
15431
--define \"filedata bar\" \\
15432
/data/SPECS/configtest.spec
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
15440
readlink \"\${cf}.rpmsave\"
15442
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig3.at:208"
15445
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
15448
runroot rpm --initdb
15450
cf="${RPMTEST}"/etc/my.conf
15451
rm -rf "${cf}" "${cf}".rpm*
15454
runroot rpmbuild --quiet -bb \
15455
--define "ver 1.0" \
15456
--define "filetype link" \
15457
--define "filedata foo" \
15458
/data/SPECS/configtest.spec
15460
runroot rpmbuild --quiet -bb \
15461
--define "ver 2.0" \
15462
--define "filetype file" \
15463
--define "filedata bar" \
15464
/data/SPECS/configtest.spec
15466
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15468
ln -sf "otherstuff" "${cf}"
15470
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
15472
readlink "${cf}.rpmsave"
15474
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
15475
at_status=$? at_failed=false
15477
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
15479
$at_diff - "$at_stderr" || at_failed=:
15480
echo >>"$at_stdout"; $as_echo "foo
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
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"
15496
at_fn_group_banner 238 'rpmconfig3.at:246' \
15497
"upgrade config to directory" " " 14
15500
$as_echo "238. $at_setup_line: testing $at_desc ..."
15505
$as_echo "$at_srcdir/rpmconfig3.at:248:
15507
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
15510
runroot rpm --initdb
15512
cf=\"\${RPMTEST}\"/etc/my.conf
15513
rm -rf \"\${cf}\" \"\${cf}\".rpm*
15514
rm -rf \"\${TOPDIR}\"
15516
runroot rpmbuild --quiet -bb \\
15517
--define \"ver 1.0\" \\
15518
--define \"filetype file\" \\
15519
--define \"filedata foo\" \\
15520
/data/SPECS/configtest.spec
15522
runroot rpmbuild --quiet -bb \\
15523
--define \"ver 2.0\" \\
15524
--define \"filetype dir\" \\
15525
/data/SPECS/configtest.spec
15527
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15529
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
15532
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig3.at:248"
15535
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
15538
runroot rpm --initdb
15540
cf="${RPMTEST}"/etc/my.conf
15541
rm -rf "${cf}" "${cf}".rpm*
15544
runroot rpmbuild --quiet -bb \
15545
--define "ver 1.0" \
15546
--define "filetype file" \
15547
--define "filedata foo" \
15548
/data/SPECS/configtest.spec
15550
runroot rpmbuild --quiet -bb \
15551
--define "ver 2.0" \
15552
--define "filetype dir" \
15553
/data/SPECS/configtest.spec
15555
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15557
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
15560
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
15561
at_status=$? at_failed=false
15563
at_fn_diff_devnull "$at_stderr" || at_failed=:
15564
echo >>"$at_stdout"; $as_echo "foo
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
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"
15577
at_fn_group_banner 239 'rpmconfig3.at:278' \
15578
"upgrade modified config to directory" " " 14
15581
$as_echo "239. $at_setup_line: testing $at_desc ..."
15586
$as_echo "$at_srcdir/rpmconfig3.at:280:
15588
rm -rf \"\${abs_builddir}\"/testing\`rpm --eval '%_dbpath'\`/*
15591
runroot rpm --initdb
15593
cf=\"\${RPMTEST}\"/etc/my.conf
15594
rm -rf \"\${cf}\" \"\${cf}\".rpm*
15595
rm -rf \"\${TOPDIR}\"
15597
runroot rpmbuild --quiet -bb \\
15598
--define \"ver 1.0\" \\
15599
--define \"filetype file\" \\
15600
--define \"filedata foo\" \\
15601
/data/SPECS/configtest.spec
15603
runroot rpmbuild --quiet -bb \\
15604
--define \"ver 2.0\" \\
15605
--define \"filetype dir\" \\
15606
/data/SPECS/configtest.spec
15608
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15610
echo \"otherstuff\" > \"\${cf}\"
15612
runroot rpm -U \"\${TOPDIR}\"/RPMS/noarch/configtest-2.0-1.noarch.rpm
15614
cat \"\${cf}.rpmsave\"
15616
at_fn_check_prepare_notrace 'a `...` command substitution' "rpmconfig3.at:280"
15619
rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
15622
runroot rpm --initdb
15624
cf="${RPMTEST}"/etc/my.conf
15625
rm -rf "${cf}" "${cf}".rpm*
15628
runroot rpmbuild --quiet -bb \
15629
--define "ver 1.0" \
15630
--define "filetype file" \
15631
--define "filedata foo" \
15632
/data/SPECS/configtest.spec
15634
runroot rpmbuild --quiet -bb \
15635
--define "ver 2.0" \
15636
--define "filetype dir" \
15637
/data/SPECS/configtest.spec
15639
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-1.0-1.noarch.rpm
15641
echo "otherstuff" > "${cf}"
15643
runroot rpm -U "${TOPDIR}"/RPMS/noarch/configtest-2.0-1.noarch.rpm
15645
cat "${cf}.rpmsave"
15647
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
15648
at_status=$? at_failed=false
15650
echo >>"$at_stderr"; $as_echo "warning: /etc/my.conf saved as /etc/my.conf.rpmsave
15652
$at_diff - "$at_stderr" || at_failed=:
15653
echo >>"$at_stdout"; $as_echo "foo
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
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"
15668
at_fn_group_banner 240 'rpmmacro.at:6' \
15669
"simple rpm --eval" " " 15
15672
$as_echo "240. $at_setup_line: testing $at_desc ..."