summaryrefslogtreecommitdiff
path: root/user/libcdio/disable-broken-test.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-18 20:28:09 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-18 20:28:09 -0500
commit0b9f7564a516edba9fe56384941f72593e3e8305 (patch)
tree149e24808786f22b85634327321bfc860154d6c4 /user/libcdio/disable-broken-test.patch
parenta99581fabefba43c1ea21fed1e93b149ba30f0e0 (diff)
downloadpackages-0b9f7564a516edba9fe56384941f72593e3e8305.tar.gz
packages-0b9f7564a516edba9fe56384941f72593e3e8305.tar.bz2
packages-0b9f7564a516edba9fe56384941f72593e3e8305.tar.xz
packages-0b9f7564a516edba9fe56384941f72593e3e8305.zip
user/libcdio: pull in, bump to 2.0.0, modernise/fix
Diffstat (limited to 'user/libcdio/disable-broken-test.patch')
-rw-r--r--user/libcdio/disable-broken-test.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/libcdio/disable-broken-test.patch b/user/libcdio/disable-broken-test.patch
new file mode 100644
index 000000000..223445df3
--- /dev/null
+++ b/user/libcdio/disable-broken-test.patch
@@ -0,0 +1,34 @@
+--- libcdio-0.94/test/driver/realpath.c.old 2015-05-08 06:40:54.000000000 -0500
++++ libcdio-0.94/test/driver/realpath.c 2017-10-07 02:03:01.832979859 -0500
+@@ -155,6 +155,7 @@
+ check_rc(unlink(psz_symlink_file), "unlink", psz_symlink_file);
+ }
+
++#if 0 /* This test requires undefined behaviour in realpath(3). */
+ /* Make sure we handle a cyclic symbolic name, e.g. xx -> xx */
+ cdio_realpath(psz_symlink_file, symlink_file);
+ rc = check_rc(symlink(psz_symlink_file, psz_symlink_file),
+@@ -168,6 +169,7 @@
+ }
+ check_rc(unlink(psz_symlink_file), "unlink", psz_symlink_file);
+ }
++#endif
+
+ }
+
+--- libcdio-0.94/test/malformed.right.old 2015-05-07 23:25:02.000000000 -0500
++++ libcdio-0.94/test/malformed.right 2017-10-07 02:08:17.898937537 -0500
+@@ -1,3 +1,3 @@
+-Error getting above directory information
+ __________________________________
++Error getting above directory information
+ ISO-9660 Information
+--- libcdio-0.94/test/malformed2.right.old 2015-05-08 05:54:32.000000000 -0500
++++ libcdio-0.94/test/malformed2.right 2017-10-07 02:09:46.362072631 -0500
+@@ -1,5 +1,5 @@
+-Error getting above directory information
+ __________________________________
++Error getting above directory information
+ ISO-9660 Information
+ 2048 /a
+ 0 /b.txt