From: Dirk Eddelbuettel <edd@debian.org>
Date: Oct, 29 2026 14:09:21 -0500
Subject: [PATCH] <short summary of the patch>

This is an upstream regression already fixed upstream and therefore
only needed for 1.44: the evaluation date was accidentally set to current date.

Origin: upstream

--- quantlib-1.44.orig/test-suite/swaption.cpp
+++ quantlib-1.44/test-suite/swaption.cpp
@@ -136,8 +136,7 @@ struct CommonVars {
         floatingConvention = index->businessDayConvention();
         floatingTenor = index->tenor();
         calendar = index->fixingCalendar();
-        today = calendar.adjust(Date::todaysDate());
-        Settings::instance().evaluationDate() = today;
+        today = Settings::instance().evaluationDate();
         settlement = calendar.advance(today,settlementDays,Days);
         termStructure.linkTo(flatRate(settlement,0.05,Actual365Fixed()));
     }
