mirror of
https://git.sr.ht/~cismonx/bookmarkfs
synced 2025-06-07 11:48:51 +00:00
26 lines
657 B
Text
26 lines
657 B
Text
dnl
|
|
dnl Copyright (C) 2025 CismonX <admin@cismon.net>
|
|
dnl
|
|
dnl Copying and distribution of this file, with or without modification,
|
|
dnl are permitted in any medium without royalty,
|
|
dnl provided the copyright notice and this notice are preserved.
|
|
dnl This file is offered as-is, without any warranty.
|
|
dnl
|
|
|
|
AT_SETUP([fs: regular file read/write])
|
|
AT_KEYWORDS([fs regrw])
|
|
|
|
ATX_CHECK_FS_NEW_ANY([file_max=524288], [
|
|
# requires PRNG
|
|
ATX_FEAT_PREREQ([bookmarkfs-util])
|
|
], [
|
|
name=$(ath_fn_rand_u64_hex)
|
|
seed=$(ath_fn_prng_seed)
|
|
echo "prng seed: $seed"
|
|
|
|
ATX_RUN([
|
|
check-fs regrw -n 524288 -s "$seed" $name
|
|
])
|
|
])
|
|
|
|
AT_CLEANUP
|