From: fsgqa Date: Mon, 1 Sep 2003 22:44:21 +0000 (+0000) Subject: Tweak bench script output format X-Git-Tag: v1.1.0~929 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=95b9190a1dda576a6a66ec853bf8a3755f6196a4;p=users%2Fhch%2Fxfstests-dev.git Tweak bench script output format --- diff --git a/bench b/bench index 0e5bca63f..a90755510 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 <