Merge branch '4567_xorriso_tests'

* 4567_xorriso_tests:
  Update doc/NEWS.
  Ticket #4567: Test fails in iso9660.xorriso in 4.8.32-pre1.
This commit is contained in:
Andrew Borodin 2024-08-12 21:00:44 +03:00
commit 61267796e2
4 changed files with 87 additions and 73 deletions

View File

@ -44,7 +44,7 @@ Version 4.8.32
* mcedit: losing column position when navigating up/down (MidnightCommander/mc#194) * mcedit: losing column position when navigating up/down (MidnightCommander/mc#194)
* mcedit: macro deletes text (#4540) * mcedit: macro deletes text (#4540)
* mcedit: macros are applied to the pasted text (#4562) * mcedit: macros are applied to the pasted text (#4562)
* extfs: iso9660: xorriso is slow to open an ISO image (#3570) * extfs: iso9660: xorriso is slow to open an ISO image (#3570, #4567)
* extfs: u7z: wrong add of nested directories to archive (#4559) * extfs: u7z: wrong add of nested directories to archive (#4559)
* extfs: segfault on enter to deleted archive (#4560) * extfs: segfault on enter to deleted archive (#4560)
* tar: segfault on copy files from archive (#4561) * tar: segfault on copy files from archive (#4561)

View File

@ -1,8 +1,16 @@
Sample iso image was created from alpine-standard-3.19.0-x86_64.iso with such Regarding the date formats used in listings, xorriso [1] implements the same
script: behavior as `ls` [2]: 'month day year' for recent items (180 days old at max),
'month day time' for older ones. So, it is important to NOT have any "recent"
items in the input data for tests. Otherwise, after some time, the test would
fail, like it happened in ticket #4567.
Sample iso image was created from alpine-standard-3.18.0-x86_64.iso (dated May
9, 2023) with such script:
#!/usr/bin/env bash #!/usr/bin/env bash
EPOCH='Jan 1 2024'
if ! test -d links; then if ! test -d links; then
mkdir "$_" mkdir "$_"
cd "$_" cd "$_"
@ -18,10 +26,12 @@ script:
ln -s "'side-quotes'" "'side-quotes-link-sq'" ln -s "'side-quotes'" "'side-quotes-link-sq'"
cd - cd -
find links -exec touch -h -d "$EPOCH" {} +
fi fi
args=( args=(
-indev alpine-standard-3.19.0-x86_64.iso -indev alpine-standard-3.18.0-x86_64.iso
-outdev sample.iso -outdev sample.iso
-boot_image any replay -boot_image any replay
-joliet on -joliet on
@ -47,3 +57,7 @@ back in the helper code.
Sample input was generated like this: Sample input was generated like this:
xorriso -dev sample.iso -find / -exec lsdl 2>/dev/null xorriso -dev sample.iso -find / -exec lsdl 2>/dev/null
[1] misc_funct.c:Ftimetxt()
[2] ls.c:long_time_format[] (in GNU coreutils)

View File

@ -1,35 +1,35 @@
dr-xr-xr-x 1 0 0 0 Dec 7 11:48 '/' dr-xr-xr-x 1 0 0 0 May 9 2023 '/'
-r--r--r-- 1 0 0 30 Dec 7 11:48 '/.alpine-release' -r--r--r-- 1 0 0 30 May 9 2023 '/.alpine-release'
dr-xr-xr-x 1 0 0 0 Dec 7 11:48 '/boot' dr-xr-xr-x 1 0 0 0 May 9 2023 '/boot'
-r--r--r-- 1 0 0 5751847 Dec 7 11:48 '/boot/System.map-lts' -r--r--r-- 1 0 0 3635088 May 9 2023 '/boot/System.map-lts'
-r--r--r-- 1 0 0 261013 Dec 7 11:48 '/boot/config-lts' -r--r--r-- 1 0 0 251348 May 9 2023 '/boot/config-lts'
dr-xr-xr-x 1 0 0 0 Dec 7 11:48 '/boot/dtbs-lts' dr-xr-xr-x 1 0 0 0 May 9 2023 '/boot/dtbs-lts'
dr-xr-xr-x 1 0 0 0 Dec 7 11:48 '/boot/grub' dr-xr-xr-x 1 0 0 0 May 9 2023 '/boot/grub'
-r--r--r-- 1 0 0 1474560 Dec 4 23:01 '/boot/grub/efi.img' -r--r--r-- 1 0 0 1474560 May 8 2023 '/boot/grub/efi.img'
-r--r--r-- 1 0 0 140 Dec 7 11:48 '/boot/grub/grub.cfg' -r--r--r-- 1 0 0 140 May 9 2023 '/boot/grub/grub.cfg'
-r--r--r-- 1 0 0 20486095 Dec 7 11:48 '/boot/initramfs-lts' -r--r--r-- 1 0 0 19242262 May 9 2023 '/boot/initramfs-lts'
-r--r--r-- 1 0 0 160346112 Dec 7 11:48 '/boot/modloop-lts' -r--r--r-- 1 0 0 145743872 May 9 2023 '/boot/modloop-lts'
dr-xr-xr-x 1 0 0 0 Dec 7 11:48 '/boot/syslinux' dr-xr-xr-x 1 0 0 0 May 9 2023 '/boot/syslinux'
er--r--r-- 1 0 0 2048 Dec 4 23:01 '/boot/syslinux/boot.cat' er--r--r-- 1 0 0 2048 May 8 2023 '/boot/syslinux/boot.cat'
-r--r--r-- 1 0 0 432 May 16 2023 '/boot/syslinux/isohdpfx.bin' -r--r--r-- 1 0 0 432 Apr 11 2023 '/boot/syslinux/isohdpfx.bin'
-r--r--r-- 1 0 0 43008 May 16 2023 '/boot/syslinux/isolinux.bin' -r--r--r-- 1 0 0 43008 Apr 11 2023 '/boot/syslinux/isolinux.bin'
-r--r--r-- 1 0 0 115468 May 16 2023 '/boot/syslinux/ldlinux.c32' -r--r--r-- 1 0 0 116144 Apr 11 2023 '/boot/syslinux/ldlinux.c32'
-r--r--r-- 1 0 0 178532 May 16 2023 '/boot/syslinux/libcom32.c32' -r--r--r-- 1 0 0 179944 Apr 11 2023 '/boot/syslinux/libcom32.c32'
-r--r--r-- 1 0 0 23636 May 16 2023 '/boot/syslinux/libutil.c32' -r--r--r-- 1 0 0 24280 Apr 11 2023 '/boot/syslinux/libutil.c32'
-r--r--r-- 1 0 0 11712 May 16 2023 '/boot/syslinux/mboot.c32' -r--r--r-- 1 0 0 11712 Apr 11 2023 '/boot/syslinux/mboot.c32'
-r--r--r-- 1 0 0 193 Dec 7 11:48 '/boot/syslinux/syslinux.cfg' -r--r--r-- 1 0 0 193 May 9 2023 '/boot/syslinux/syslinux.cfg'
-r--r--r-- 1 0 0 11879168 Dec 7 11:48 '/boot/vmlinuz-lts' -r--r--r-- 1 0 0 10357760 May 9 2023 '/boot/vmlinuz-lts'
dr-xr-xr-x 1 0 0 0 Dec 7 11:48 '/efi' dr-xr-xr-x 1 0 0 0 May 9 2023 '/efi'
dr-xr-xr-x 1 0 0 0 Dec 7 11:48 '/efi/boot' dr-xr-xr-x 1 0 0 0 May 9 2023 '/efi/boot'
-r--r--r-- 1 0 0 688128 Dec 7 11:48 '/efi/boot/bootx64.efi' -r--r--r-- 1 0 0 692224 May 9 2023 '/efi/boot/bootx64.efi'
drwxr-xr-x 1 0 0 0 May 7 01:28 '/links' drwxr-xr-x 1 0 0 0 Jan 1 2024 '/links'
-rw-r--r-- 1 0 0 0 May 7 01:28 '/links/'"'"'side-quotes'"'"'' -rw-r--r-- 1 0 0 0 Jan 1 2024 '/links/'"'"'side-quotes'"'"''
lrwxrwxrwx 1 0 0 0 May 7 01:28 '/links/'"'"'side-quotes-link-iq'"'"'' -> 'inner'"'"'quote' lrwxrwxrwx 1 0 0 0 Jan 1 2024 '/links/'"'"'side-quotes-link-iq'"'"'' -> 'inner'"'"'quote'
lrwxrwxrwx 1 0 0 0 May 7 01:28 '/links/'"'"'side-quotes-link-nq'"'"'' -> 'no-quotes' lrwxrwxrwx 1 0 0 0 Jan 1 2024 '/links/'"'"'side-quotes-link-nq'"'"'' -> 'no-quotes'
lrwxrwxrwx 1 0 0 0 May 7 01:28 '/links/'"'"'side-quotes-link-sq'"'"'' -> ''"'"'side-quotes'"'"'' lrwxrwxrwx 1 0 0 0 Jan 1 2024 '/links/'"'"'side-quotes-link-sq'"'"'' -> ''"'"'side-quotes'"'"''
-rw-r--r-- 1 0 0 0 May 7 01:28 '/links/inner'"'"'quote' -rw-r--r-- 1 0 0 0 Jan 1 2024 '/links/inner'"'"'quote'
lrwxrwxrwx 1 0 0 0 May 7 01:28 '/links/inner'"'"'quote-link-iq' -> 'inner'"'"'quote' lrwxrwxrwx 1 0 0 0 Jan 1 2024 '/links/inner'"'"'quote-link-iq' -> 'inner'"'"'quote'
lrwxrwxrwx 1 0 0 0 May 7 01:28 '/links/inner'"'"'quote-link-nq' -> 'no-quotes' lrwxrwxrwx 1 0 0 0 Jan 1 2024 '/links/inner'"'"'quote-link-nq' -> 'no-quotes'
lrwxrwxrwx 1 0 0 0 May 7 01:28 '/links/inner'"'"'quote-link-sq' -> ''"'"'side-quotes'"'"'' lrwxrwxrwx 1 0 0 0 Jan 1 2024 '/links/inner'"'"'quote-link-sq' -> ''"'"'side-quotes'"'"''
-rw-r--r-- 1 0 0 0 May 7 01:28 '/links/no-quotes' -rw-r--r-- 1 0 0 0 Jan 1 2024 '/links/no-quotes'
lrwxrwxrwx 1 0 0 0 May 7 01:28 '/links/no-quotes-link' -> 'no-quotes' lrwxrwxrwx 1 0 0 0 Jan 1 2024 '/links/no-quotes-link' -> 'no-quotes'

View File

@ -1,34 +1,34 @@
-r--r--r-- 1 0 0 30 2023-12-07 11:48:00 /.alpine-release -r--r--r-- 1 0 0 30 2023-05-09 00:00:00 /.alpine-release
dr-xr-xr-x 1 0 0 0 2023-12-07 11:48:00 /boot dr-xr-xr-x 1 0 0 0 2023-05-09 00:00:00 /boot
-r--r--r-- 1 0 0 5751847 2023-12-07 11:48:00 /boot/System.map-lts -r--r--r-- 1 0 0 3635088 2023-05-09 00:00:00 /boot/System.map-lts
-r--r--r-- 1 0 0 261013 2023-12-07 11:48:00 /boot/config-lts -r--r--r-- 1 0 0 251348 2023-05-09 00:00:00 /boot/config-lts
dr-xr-xr-x 1 0 0 0 2023-12-07 11:48:00 /boot/dtbs-lts dr-xr-xr-x 1 0 0 0 2023-05-09 00:00:00 /boot/dtbs-lts
dr-xr-xr-x 1 0 0 0 2023-12-07 11:48:00 /boot/grub dr-xr-xr-x 1 0 0 0 2023-05-09 00:00:00 /boot/grub
-r--r--r-- 1 0 0 1474560 2023-12-04 23:01:00 /boot/grub/efi.img -r--r--r-- 1 0 0 1474560 2023-05-08 00:00:00 /boot/grub/efi.img
-r--r--r-- 1 0 0 140 2023-12-07 11:48:00 /boot/grub/grub.cfg -r--r--r-- 1 0 0 140 2023-05-09 00:00:00 /boot/grub/grub.cfg
-r--r--r-- 1 0 0 20486095 2023-12-07 11:48:00 /boot/initramfs-lts -r--r--r-- 1 0 0 19242262 2023-05-09 00:00:00 /boot/initramfs-lts
-r--r--r-- 1 0 0 160346112 2023-12-07 11:48:00 /boot/modloop-lts -r--r--r-- 1 0 0 145743872 2023-05-09 00:00:00 /boot/modloop-lts
dr-xr-xr-x 1 0 0 0 2023-12-07 11:48:00 /boot/syslinux dr-xr-xr-x 1 0 0 0 2023-05-09 00:00:00 /boot/syslinux
-r--r--r-- 1 0 0 2048 2023-12-04 23:01:00 /boot/syslinux/boot.cat -r--r--r-- 1 0 0 2048 2023-05-08 00:00:00 /boot/syslinux/boot.cat
-r--r--r-- 1 0 0 432 2023-05-16 00:00:00 /boot/syslinux/isohdpfx.bin -r--r--r-- 1 0 0 432 2023-04-11 00:00:00 /boot/syslinux/isohdpfx.bin
-r--r--r-- 1 0 0 43008 2023-05-16 00:00:00 /boot/syslinux/isolinux.bin -r--r--r-- 1 0 0 43008 2023-04-11 00:00:00 /boot/syslinux/isolinux.bin
-r--r--r-- 1 0 0 115468 2023-05-16 00:00:00 /boot/syslinux/ldlinux.c32 -r--r--r-- 1 0 0 116144 2023-04-11 00:00:00 /boot/syslinux/ldlinux.c32
-r--r--r-- 1 0 0 178532 2023-05-16 00:00:00 /boot/syslinux/libcom32.c32 -r--r--r-- 1 0 0 179944 2023-04-11 00:00:00 /boot/syslinux/libcom32.c32
-r--r--r-- 1 0 0 23636 2023-05-16 00:00:00 /boot/syslinux/libutil.c32 -r--r--r-- 1 0 0 24280 2023-04-11 00:00:00 /boot/syslinux/libutil.c32
-r--r--r-- 1 0 0 11712 2023-05-16 00:00:00 /boot/syslinux/mboot.c32 -r--r--r-- 1 0 0 11712 2023-04-11 00:00:00 /boot/syslinux/mboot.c32
-r--r--r-- 1 0 0 193 2023-12-07 11:48:00 /boot/syslinux/syslinux.cfg -r--r--r-- 1 0 0 193 2023-05-09 00:00:00 /boot/syslinux/syslinux.cfg
-r--r--r-- 1 0 0 11879168 2023-12-07 11:48:00 /boot/vmlinuz-lts -r--r--r-- 1 0 0 10357760 2023-05-09 00:00:00 /boot/vmlinuz-lts
dr-xr-xr-x 1 0 0 0 2023-12-07 11:48:00 /efi dr-xr-xr-x 1 0 0 0 2023-05-09 00:00:00 /efi
dr-xr-xr-x 1 0 0 0 2023-12-07 11:48:00 /efi/boot dr-xr-xr-x 1 0 0 0 2023-05-09 00:00:00 /efi/boot
-r--r--r-- 1 0 0 688128 2023-12-07 11:48:00 /efi/boot/bootx64.efi -r--r--r-- 1 0 0 692224 2023-05-09 00:00:00 /efi/boot/bootx64.efi
drwxr-xr-x 1 0 0 0 2024-05-07 01:28:00 /links drwxr-xr-x 1 0 0 0 2024-01-01 00:00:00 /links
-rw-r--r-- 1 0 0 0 2024-05-07 01:28:00 /links/'side-quotes' -rw-r--r-- 1 0 0 0 2024-01-01 00:00:00 /links/'side-quotes'
lrwxrwxrwx 1 0 0 0 2024-05-07 01:28:00 /links/'side-quotes-link-iq' -> inner'quote lrwxrwxrwx 1 0 0 0 2024-01-01 00:00:00 /links/'side-quotes-link-iq' -> inner'quote
lrwxrwxrwx 1 0 0 0 2024-05-07 01:28:00 /links/'side-quotes-link-nq' -> no-quotes lrwxrwxrwx 1 0 0 0 2024-01-01 00:00:00 /links/'side-quotes-link-nq' -> no-quotes
lrwxrwxrwx 1 0 0 0 2024-05-07 01:28:00 /links/'side-quotes-link-sq' -> 'side-quotes' lrwxrwxrwx 1 0 0 0 2024-01-01 00:00:00 /links/'side-quotes-link-sq' -> 'side-quotes'
-rw-r--r-- 1 0 0 0 2024-05-07 01:28:00 /links/inner'quote -rw-r--r-- 1 0 0 0 2024-01-01 00:00:00 /links/inner'quote
lrwxrwxrwx 1 0 0 0 2024-05-07 01:28:00 /links/inner'quote-link-iq -> inner'quote lrwxrwxrwx 1 0 0 0 2024-01-01 00:00:00 /links/inner'quote-link-iq -> inner'quote
lrwxrwxrwx 1 0 0 0 2024-05-07 01:28:00 /links/inner'quote-link-nq -> no-quotes lrwxrwxrwx 1 0 0 0 2024-01-01 00:00:00 /links/inner'quote-link-nq -> no-quotes
lrwxrwxrwx 1 0 0 0 2024-05-07 01:28:00 /links/inner'quote-link-sq -> 'side-quotes' lrwxrwxrwx 1 0 0 0 2024-01-01 00:00:00 /links/inner'quote-link-sq -> 'side-quotes'
-rw-r--r-- 1 0 0 0 2024-05-07 01:28:00 /links/no-quotes -rw-r--r-- 1 0 0 0 2024-01-01 00:00:00 /links/no-quotes
lrwxrwxrwx 1 0 0 0 2024-05-07 01:28:00 /links/no-quotes-link -> no-quotes lrwxrwxrwx 1 0 0 0 2024-01-01 00:00:00 /links/no-quotes-link -> no-quotes