mirror of
https://git.sr.ht/~cismonx/bookmarkfs
synced 2025-07-02 23:38:51 +00:00
This is meant to be a workaround for a limitation of Autotest, where `set -e` has no effect in AT_CHECK(). Also we don't want to use `trap ... ERR`, since it is not portable.
23 lines
529 B
Text
23 lines
529 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([util lib: file watcher])
|
|
AT_KEYWORDS([lib watcher])
|
|
|
|
ATX_CHECK_LIB([
|
|
tmpdir=./$(ath_fn_rand_u64_hex).tmp.d
|
|
|
|
mkdir $tmpdir
|
|
|
|
ATX_RUN([
|
|
check-util-lib watcher -d $tmpdir
|
|
])
|
|
])
|
|
|
|
AT_CLEANUP
|