Bug 566844 - augeas doesn't handle empty entry
Summary: augeas doesn't handle empty entry
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: augeas
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Alan Pevec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-19 22:38 UTC by Mike Burns
Modified: 2010-06-30 22:16 UTC (History)
2 users (show)

Fixed In Version: augeas-0.7.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-30 22:16:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mike Burns 2010-02-19 22:38:20 UTC
Description of problem:
augeas fails on a blank line

Version-Release number of selected component (if applicable):
augeas-0.7.0-1.fc12.x86_64

How reproducible:
always

Steps to Reproduce:
1.run augtool
2.hit enter

  
Actual results:
Unknown command error

$ augtool 
augtool> 
Unknown command ''

Expected results:
as in previous versions, no output at all

$ augtool 
augtool> 
augtool>

Additional info:

Comment 1 David Lutterkort 2010-02-22 20:04:13 UTC
Fixed with commit 6c7f09a9 upstream

This makes augeas treat empty lines from stdin the same as comments, i.e. ignore them.

augtool will still complain when you run 'augtool ""', since that generally indicates some problem higher up

Comment 2 David Lutterkort 2010-06-30 22:16:53 UTC
Fixed in augeas-0.7.1 which has been available for a while


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