diff options
author | Luis Chamberlain <mcgrof@kernel.org> | 2022-02-14 17:48:45 -0800 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2022-02-21 00:45:50 +0800 |
commit | 67f9580c212dd1f2a8273f6194e686d187582255 (patch) | |
tree | 0161200d96329ba5981bf04c24f6b58672f0f813 /tests/btrfs/164 | |
parent | 9470dc5dddeaa48ef3633a46ab89523d78b3245f (diff) |
tests/btrfs: use $AWK_PROG instead of awk
Use $AWK_PROG instead of awk in case the default awk
program is not called awk.
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Adam Manzanares <a.manzanares@samsung.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to 'tests/btrfs/164')
-rwxr-xr-x | tests/btrfs/164 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/btrfs/164 b/tests/btrfs/164 index 8fd6ab62..43c55c16 100755 --- a/tests/btrfs/164 +++ b/tests/btrfs/164 @@ -29,8 +29,8 @@ _require_scratch_dev_pool 2 _scratch_dev_pool_get 2 -dev_seed=$(echo $SCRATCH_DEV_POOL | awk '{print $1}') -dev_sprout=$(echo $SCRATCH_DEV_POOL | awk '{print $2}') +dev_seed=$(echo $SCRATCH_DEV_POOL | $AWK_PROG '{print $1}') +dev_sprout=$(echo $SCRATCH_DEV_POOL | $AWK_PROG '{print $2}') create_seed() { |