diff options
author | Richard Hughes <richard@hughsie.com> | 2013-11-26 10:14:37 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2013-11-26 10:15:04 +0000 |
commit | 8e37d80888e68718aa4f8b99f2e95a562a9e676a (patch) | |
tree | 0ae23e92d909c650ea984497a701dab39a2f372b /data | |
parent | afc3ca37d95c69cc2af0d6a51590f4dc19fcf233 (diff) | |
download | colord-8e37d80888e68718aa4f8b99f2e95a562a9e676a.tar.gz |
trivial: Add a test we return the correct return code for a corrupt profile
Additionally, use a file descriptor to load the file as this is what the daemon
does in most cases.
Diffstat (limited to 'data')
-rw-r--r-- | data/tests/Makefile.am | 1 | ||||
-rw-r--r-- | data/tests/corrupt-dict.icc | bin | 0 -> 1212 bytes |
2 files changed, 1 insertions, 0 deletions
diff --git a/data/tests/Makefile.am b/data/tests/Makefile.am index 018f63c..e55ba86 100644 --- a/data/tests/Makefile.am +++ b/data/tests/Makefile.am @@ -2,6 +2,7 @@ test_files = \ LG-L225W-External.bin \ Lenovo-T61-Internal.bin \ calibration.ccmx \ + corrupt-dict.icc \ crayons.icc \ empty.icc \ ibm-t61.icc \ diff --git a/data/tests/corrupt-dict.icc b/data/tests/corrupt-dict.icc Binary files differnew file mode 100644 index 0000000..b8e6448 --- /dev/null +++ b/data/tests/corrupt-dict.icc |