summaryrefslogtreecommitdiffstats
path: root/tests/features/fdl.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/features/fdl.t')
-rw-r--r--tests/features/fdl.t12
1 files changed, 1 insertions, 11 deletions
diff --git a/tests/features/fdl.t b/tests/features/fdl.t
index 34d6d78228a..28097a1536a 100644
--- a/tests/features/fdl.t
+++ b/tests/features/fdl.t
@@ -2,17 +2,7 @@
. $(dirname $0)/../include.rc
. $(dirname $0)/../volume.rc
-
-log_base=$($CLI --print-logdir)
-log_id=${B0}/${V0}-0
-log_id=${log_id:1} # Remove initial slash
-log_id=${log_id//\//-} # Replace remaining slashes with dashes
-FDL_META_FILE=${log_base}/${log_id}-meta-1.jnl
-FDL_DATA_FILE=${log_base}/${log_id}-data-1.jnl
-
-check_logfile() {
- [ $(gf_logdump $FDL_META_FILE $FDL_DATA_FILE | grep $1 | wc -l) -ge $2 ]
-}
+. $(dirname $0)/../fdl.rc
if [ x"$OSTYPE" = x"NetBSD" ]; then
CREAT_OFLAG="creat,"