summaryrefslogtreecommitdiff
path: root/mac/sar/test/maximus_test/src
diff options
context:
space:
mode:
authorlaranjeiro2007-11-08 11:10:03 +0000
committerlaranjeiro2007-11-08 11:10:03 +0000
commitdc2c779d9e0450ec6796299917809398c9da349e (patch)
tree2d399f440747c4a27cf094a3de8aa2a0433d13fe /mac/sar/test/maximus_test/src
parent1b3b559d3faa6b38a31cf550df787a4853c5bdec (diff)
* Modified the SAR to replace the _date suffixe variable by _ntb
* Added the pbproc function to get the NTB * Removed the sta_uninit from all tests. * Added an offset in the sar_work_get to wait a little more before launching an expiration. * Tested all. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@972 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'mac/sar/test/maximus_test/src')
-rw-r--r--mac/sar/test/maximus_test/src/Sta_sar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mac/sar/test/maximus_test/src/Sta_sar.c b/mac/sar/test/maximus_test/src/Sta_sar.c
index f0f340c87a..8b5b04d78b 100644
--- a/mac/sar/test/maximus_test/src/Sta_sar.c
+++ b/mac/sar/test/maximus_test/src/Sta_sar.c
@@ -363,7 +363,7 @@ void fill_mac_store (bool tx, sar_max_job_t *job_curr)
dbg_assert (added);
/* Add the mfs to the SAR expiration */
- mfs->common.expiration_date = phy_date (sar_ctx.phy_ctx) + 100;
+ mfs->common.expiration_ntb = phy_date (sar_ctx.phy_ctx) + 100;
sar_mfs_add (&sar_ctx, (mfs_t *) mfs);
if (log_init_info)
@@ -379,7 +379,7 @@ void fill_mac_store (bool tx, sar_max_job_t *job_curr)
dbg_assert (added);
/* Add the mfs to the sar expiration */
- mfs->common.expiration_date = phy_date (sar_ctx.phy_ctx) + 100;
+ mfs->common.expiration_ntb = phy_date (sar_ctx.phy_ctx) + 100;
sar_mfs_add (&sar_ctx, (mfs_t *) mfs);
}
else
@@ -410,7 +410,7 @@ void fill_mac_store (bool tx, sar_max_job_t *job_curr)
dbg_assert (added);
/* Add the mfs to the SAR expiration */
- mfs->common.expiration_date = phy_date (sar_ctx.phy_ctx)
+ mfs->common.expiration_ntb = phy_date (sar_ctx.phy_ctx)
+ 100;
sar_mfs_add (&sar_ctx, (mfs_t *) mfs);
}
@@ -437,7 +437,7 @@ void fill_mac_store (bool tx, sar_max_job_t *job_curr)
dbg_assert (added);
/* Add the mfs to the sar expiration */
- mfs->common.expiration_date = phy_date (sar_ctx.phy_ctx)
+ mfs->common.expiration_ntb = phy_date (sar_ctx.phy_ctx)
+ 100;
sar_mfs_add (&sar_ctx, (mfs_t *) mfs);
}