Bug 1123 - LSB 4.1: cupsConvenience error
Summary: LSB 4.1: cupsConvenience error
Status: RESOLVED WONTFIX
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.0-alpha
Hardware: mpc8315e-rdb ppc
: Medium normal
Target Milestone: 1.1 M3
Assignee: Xiaofeng Yan
QA Contact:
URL:
Whiteboard: will be fixed by Aug12/2011
Depends on:
Blocks:
 
Reported: 2011-05-27 05:14 UTC by Xiaofeng Yan
Modified: 2011-08-16 22:44 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
source codes for cupsConvenience (38.07 KB, text/x-csrc)
2011-08-16 22:21 UTC, Xiaofeng Yan
no flags Details
binary for cupsConvenience (76.64 KB, application/octet-stream)
2011-08-16 22:44 UTC, Xiaofeng Yan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xiaofeng Yan 2011-05-27 05:14:27 UTC
convenience/cupsConvenience 37 	unresolved 	
Message from the test:

Test 37
When cupsSetDests2 is called to save the list of destinations for the specified server, the destinations are saved to either /etc/cups/loptions (root) or ~/.cups/lpoptions (normal user) and the function returns 0 on success -1 on error
unexpected signal 6 (SIGABRT) received
Comment 1 Xiaofeng Yan 2011-05-27 05:14:55 UTC
I record this bug and will fix it on 1.1.
Comment 2 Xiaofeng Yan 2011-08-11 20:06:13 UTC
this bug is related to memory of hardware platform. kernel will report error like out of memory when running cups test.
Comment 3 Xiaofeng Yan 2011-08-16 22:21:41 UTC
Created attachment 205 [details]
source codes for cupsConvenience

This is source codes, you can compile this file in target platfrom with environment of gcc and lsb.
Comment 4 Xiaofeng Yan 2011-08-16 22:44:23 UTC
Created attachment 206 [details]
binary for cupsConvenience

Copy this binary to /opt/lsb/test/printing/convenience and run the following command

$ cd /opt/lsb/test/printing
$ sh run_tests
$ cat /opt/lsb/test/printing/results/0007e
.......
520|0 29 00003437 1 1|Test 29
520|0 29 00003437 1 2|When cupsSetDests2 is called to save the list of destinations for the specified server, the destinations are saved to either /etc/cups/loptions (root) or ~/.cups/lpoptions (normal user) and the function returns 0 on success -1 on error
220|0 29 0 10:46:33|PASS
410|0 37 1 10:46:33|IC End

Note: Test 29 is Test 37 because I comment some test item in source codes. 
This test item can pass lsb test if we run this binary manually.