From 95b9190a1dda576a6a66ec853bf8a3755f6196a4 Mon Sep 17 00:00:00 2001 From: fsgqa Date: Mon, 1 Sep 2003 22:44:21 +0000 Subject: [PATCH] Tweak bench script output format --- bench | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/bench b/bench index 0e5bca63..a9075551 100755 --- a/bench +++ b/bench @@ -163,23 +163,29 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _require_scratch rm -f bench.* results.* -_full_platform_details() +_full_fstyp_details() { [ -z "$FSTYP" ] && FSTYP=xfs + echo $FSTYP +} + +_full_platform_details() +{ os=`uname -s` host=`hostname -s` kernel=`uname -r` platform=`uname -i` - - echo "$os/$platform $host $kernel [FSTYP=$FSTYP]" + echo "$os/$platform $host $kernel" } +FULL_FSTYP_DETAILS=`_full_fstyp_details` FULL_HOST_DETAILS=`_full_platform_details` FULL_MKFS_OPTIONS=`_scratch_mkfs_options` FULL_MOUNT_OPTIONS=`_scratch_mount_options` # $OUT is the report which will ultimately be sent, keep it tidy. cat >$OUT <