Bug 799788 - ksvalidator report incorrect info (output %% instead of % )
Summary: ksvalidator report incorrect info (output %% instead of % )
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pykickstart
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Chris Lumens
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-05 02:50 UTC by Xiaoqing Wei
Modified: 2012-03-05 14:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-05 14:44:35 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Xiaoqing Wei 2012-03-05 02:50:51 UTC
Description of problem:
ksvalidator outputs incorrect info

Version-Release number of selected component (if applicable):
pykickstart-1.99.4-1.el7.noarch
Section does not end with %%end.

How reproducible:
100%

Steps to Reproduce:
1.
#tail -2  rhel7-ks.cfg 
echo "co:2345:respawn:/sbin/agetty 115200 ttyS0" >> /etc/inittab
#%end
 
2. ksvalidator rhel7-ks.cfg 
The following problem occurred on line 105 of the kickstart file:
Section does not end with %%end.

                          ^^^^^
3.
  
Actual results:

output %% instead of %
Expected results:

should report correctly.
Additional info:

# tail -2  rhel7-ks.cfg 
echo "co:2345:respawn:/sbin/agetty 115200 ttyS0" >> /etc/inittab
%end
# ksvalidator rhel7-ks.cfg 

# echo $?
0

Comment 1 Chris Lumens 2012-03-05 14:44:35 UTC
I am unable to reproduce this problem with pykickstart-1.99.7, which is the version currently in Fedora and that I assume will get pulled into RHEL7 when we do rebasing.


Note You need to log in before you can comment on or make changes to this bug.