summaryrefslogtreecommitdiff
path: root/tests/init.cfg
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-05-16 07:46:51 +0200
committerJim Meyering <meyering@redhat.com>2012-05-16 07:46:51 +0200
commit2e9f5ca4ebbbdb6a9fa2dd3d5add3f7720a172d7 (patch)
tree4bdf4535a03721e44879c56b318e1a6998fc301e /tests/init.cfg
parente2bd5cda0a341b35c79ba1484bd71e932c74b456 (diff)
downloadcoreutils-2e9f5ca4ebbbdb6a9fa2dd3d5add3f7720a172d7.tar.xz
tests: use $AWK, not awk
* tests/cp/sparse-fiemap: Don't hard-code "awk". Use $AWK. * tests/init.cfg: Likewise. * tests/misc/sort-rand: Likewise.
Diffstat (limited to 'tests/init.cfg')
-rw-r--r--tests/init.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/init.cfg b/tests/init.cfg
index 2e43c162d..c1cb92fb2 100644
--- a/tests/init.cfg
+++ b/tests/init.cfg
@@ -183,7 +183,7 @@ require_file_system_bytes_free_()
{
local req=$1
local expr=$(stat -f --printf "$req / %S <= %a" .)
- awk "BEGIN{ exit !($expr) }" \
+ $AWK "BEGIN{ exit !($expr) }" \
|| skip_ "this test needs at least $req bytes of free space"
}