| Summary: | LSB 4.1: cupsConvenience error | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Xiaofeng Yan <Xiaofeng.yan> | ||||||
| Component: | core | Assignee: | Xiaofeng Yan <Xiaofeng.yan> | ||||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | Medium | CC: | liang.li2, liangliang.wang, meta.mr.watcher, meta.watcher, sgw, yi.zhao | ||||||
| Version: | 1.0-alpha | ||||||||
| Target Milestone: | 1.1 M3 | ||||||||
| Hardware: | mpc8315e-rdb | ||||||||
| OS: | ppc | ||||||||
| Whiteboard: | will be fixed by Aug12/2011 | ||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||
| Verified: | Documentation change: | --- | |||||||
| Attachments: |
|
||||||||
|
Description
Xiaofeng Yan
2011-05-27 05:14:27 UTC
I record this bug and will fix it on 1.1. this bug is related to memory of hardware platform. kernel will report error like out of memory when running cups test. 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.
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.
|