diff options
author | Karel Zak <kzak@redhat.com> | 2007-07-20 15:08:54 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2007-07-23 15:07:13 +0200 |
commit | a2c6354ff7c2f8787d6a3b55631eda661b310026 (patch) | |
tree | 6e7264de4e45ab608f4a2a6f73d1619d2f46bf7b /tests/ts-ipcs.sh | |
parent | 93a024e4dbfa3dce2d6392c01dff151b2cefb765 (diff) | |
download | util-linux-old-a2c6354ff7c2f8787d6a3b55631eda661b310026.tar.gz |
tests: use $AWK based on configure results
The hardcoded "gawk" seems like a bad idea.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts-ipcs.sh')
-rw-r--r-- | tests/ts-ipcs.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ts-ipcs.sh b/tests/ts-ipcs.sh index 09790a4e..ff35e75e 100644 --- a/tests/ts-ipcs.sh +++ b/tests/ts-ipcs.sh @@ -38,9 +38,9 @@ IPCS_KERNEL_CMD=( # data from the ipcs command IPCS_CMD=( - "$TS_CMD_IPCS -m -l | gawk '/max number of segments/ { print \$6 }'" - "$TS_CMD_IPCS -m -l | gawk '/max total shared memory/ { print \$7 }'" - "$TS_CMD_IPCS -m -l | gawk '/max seg size/ { print \$6 }'" + "$TS_CMD_IPCS -m -l | $AWK '/max number of segments/ { print \$6 }'" + "$TS_CMD_IPCS -m -l | $AWK '/max total shared memory/ { print \$7 }'" + "$TS_CMD_IPCS -m -l | $AWK '/max seg size/ { print \$6 }'" ) |