Bug 129291

Summary: subdomain_parser doesn't set an error code when there's an error in the #include processing
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Steve Beattie <sbeattie>
Component: AppArmorAssignee: Steve Beattie <sbeattie>
Status: RESOLVED WONTFIX QA Contact: Keiran Haggerty <khaggerty>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Steve Beattie 2005-10-19 07:36:31 UTC
[kryten simple_tests]$ cat includes_bad_include.sd
#
#=DESCRIPTION includes testing - non-existent include should fail
#=EXRESULT FAIL
#
/does/not/exist {
  #include <does-not-exist/does-not-exist>
}
[kryten simple_tests]$ /sbin/subdomain_parser -d < includes_bad_include.sd
Error: #include <does-not-exist/does-not-exist> not found. line 6 in stdin
[kryten simple_tests]$ echo $?
0
Comment 1 Steve Beattie 2005-11-21 23:07:10 UTC
A fix for this made it in to the SLES9 SP3 candidates, I don't know if this will get fixed for SL10.
Comment 2 Steve Beattie 2006-01-24 22:23:13 UTC
I believe it has been decided this won't be fixed for SL10. It is fixed in the CODE 10.