3
# Test the basic util functions
11
open(PIPE, "rpm --showrc |");
12
while (defined($line = <PIPE>))
16
$line =~ /^build arch\s*:\s*(\S+)\s*$/ and $arch = $1;
17
$line =~ /^build os\s*:\s*(\S+)\s*$/ and $os = $1;
21
print 'not ' unless ($arch eq rpm_archname);
24
print 'not ' unless ($os eq rpm_osname);