diff -Nru asammdf-8.5.1/debian/changelog asammdf-8.5.1/debian/changelog
--- asammdf-8.5.1/debian/changelog	2025-06-25 19:44:15.000000000 +0800
+++ asammdf-8.5.1/debian/changelog	2025-07-26 10:21:40.000000000 +0800
@@ -1,3 +1,9 @@
+asammdf (8.5.1-1.1) UNRELEASED; urgency=medium
+
+  * fix ASAP2_Demo_V171.scrambled.mf4 file path missing. 
+
+ -- Gui-Yue <yuemeng.gui@gmail.com>  Sat, 26 Jul 2025 10:21:40 +0800
+
 asammdf (8.5.1-1) unstable; urgency=medium
 
   * Initial upload (Closes: #1075926)
diff -Nru asammdf-8.5.1/debian/patches/fix_ASAP2_Demo_V171.scrambled_file_missing.patch asammdf-8.5.1/debian/patches/fix_ASAP2_Demo_V171.scrambled_file_missing.patch
--- asammdf-8.5.1/debian/patches/fix_ASAP2_Demo_V171.scrambled_file_missing.patch	1970-01-01 08:00:00.000000000 +0800
+++ asammdf-8.5.1/debian/patches/fix_ASAP2_Demo_V171.scrambled_file_missing.patch	2025-07-26 10:21:36.000000000 +0800
@@ -0,0 +1,16 @@
+--- a/test/asammdf/gui/widgets/file/test_FileWidget_TabModifyAndExport.py
++++ b/test/asammdf/gui/widgets/file/test_FileWidget_TabModifyAndExport.py
+@@ -39,7 +39,12 @@
+         # Evaluate
+         scrambled_filepath = pathlib.Path(self.test_workspace, "ASAP2_Demo_V171.scrambled.mf4")
+         # Wait for Thread to finish
+-        time.sleep(0.1)
++        timeout = 5  # seconds
++        start_time = time.time()
++        while not scrambled_filepath.exists():
++            if time.time() - start_time > timeout:
++                raise TimeoutError(f"Scrambled file was not created within {timeout} seconds: {scrambled_filepath}")
++            time.sleep(0.1) # short sleep between checks
+ 
+         with OpenMDF(scrambled_filepath) as mdf_file:
+             result = filter(lambda c: c in mdf_file.channels_db, channels)
diff -Nru asammdf-8.5.1/debian/patches/series asammdf-8.5.1/debian/patches/series
--- asammdf-8.5.1/debian/patches/series	2025-06-25 19:44:15.000000000 +0800
+++ asammdf-8.5.1/debian/patches/series	2025-07-26 10:19:31.000000000 +0800
@@ -1,2 +1,3 @@
 deflate.patch
 skip-tests-internet.patch
+fix_ASAP2_Demo_V171.scrambled_file_missing.patch
