#200: != operator not working in path expressions?
---------------------+------------------------------------------------------
 Reporter:  lkrejci  |       Owner:  lutter
     Type:  defect   |      Status:  new   
 Priority:  major    |   Milestone:  next  
Component:  Augeas   |     Version:  0.8.0 
 Keywords:           |  
---------------------+------------------------------------------------------
 This is reproducable on Fedora 14 with augeas 0.8.1:

 1)
 Have a daily cron job in your /etc/crontab:
 0 0 * * * root echo hello
 1 0 * * * root echo hi

 2)
 augtool> match /files/etc/crontab/entry[time/minute = '0']
 /files/etc/crontab/entry[1] = echo hello
 augtool> match /files/etc/crontab/entry[time/minute = '1']
 /files/etc/crontab/entry[2] = echo hi
 augtool> match /files/etc/crontab/entry[time/minute != '1']
   (no matches)
 augtool> match /files/etc/crontab/entry[time/minute != '0']
   (no matches)

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/200>
Augeas <http://augeas.net/>
a configuration API

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to