diff options
author | Jim Meyering <meyering@redhat.com> | 2012-05-16 07:46:51 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-05-16 07:46:51 +0200 |
commit | 2e9f5ca4ebbbdb6a9fa2dd3d5add3f7720a172d7 (patch) | |
tree | 4bdf4535a03721e44879c56b318e1a6998fc301e /tests/cp | |
parent | e2bd5cda0a341b35c79ba1484bd71e932c74b456 (diff) | |
download | coreutils-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/cp')
-rwxr-xr-x | tests/cp/sparse-fiemap | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/sparse-fiemap b/tests/cp/sparse-fiemap index 61e807c05..f2e5f330d 100755 --- a/tests/cp/sparse-fiemap +++ b/tests/cp/sparse-fiemap @@ -64,7 +64,7 @@ fi f() { sed 's/ [a-z,][a-z,]*$//' $@ \ - | awk '/^ *[0-9]/ {printf "%d %d ", $2, (NF<5 ? $NF : $5) } END {print ""}' + | $AWK '/^ *[0-9]/ {printf "%d %d ", $2, (NF<5 ? $NF : $5) } END {print ""}' } for i in $(seq 1 2 21); do |