Commit 8926bc68 for xz

commit 8926bc6800b01ac4a482dd634499c64fef895037
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   Thu Nov 5 19:49:53 2026 +0200

    Tests: Fix test_files.sh to test xzdec with CMake builds too

    tests/tests.cmake only pass one argument to test_files.sh, but
    test_files.sh expected a second argument for the xzdec directory.
    In CMake builds, all executables that depend on liblzma must be
    in the same directory (due to how Windows searches for DLLs), so
    one argument is enough.

diff --git a/tests/test_files.sh b/tests/test_files.sh
index 1cfe27be..aead9085 100755
--- a/tests/test_files.sh
+++ b/tests/test_files.sh
@@ -8,11 +8,11 @@
 ###############################################################################

 # Optional argument:
-# $1 = directory of the xz executable
+# $1 = directory of the xz and xzdec executables

 # If both xz and xzdec were not built, skip this test.
 XZ=${1:-../src/xz}/xz
-XZDEC=${2:-../src/xzdec}/xzdec
+XZDEC=${1:-../src/xzdec}/xzdec
 test -x "$XZ" || XZ=
 test -x "$XZDEC" || XZDEC=
 if test -z "$XZ$XZDEC"; then