From: Allan Randall Date: Wed, 21 Jun 2006 03:55:05 +0000 (+0000) Subject: Fixed golden output X-Git-Tag: v1.1.0~630 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=dd11095027a85d02926833efba134208ba3995f2 Fixed golden output Merge of master-melb:xfs-cmds:26297a by kenmcd. Fixed golden output --- diff --git a/047.out b/047.out index 168ada17..7470329c 100644 --- a/047.out +++ b/047.out @@ -1,71 +1,335 @@ -#! /bin/sh -# FS QA Test No. 047 -# -# invutil with interactive responses -# -#----------------------------------------------------------------------- -# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. -#----------------------------------------------------------------------- -# -# creator -owner=tes@sgi.com +QA output created by 047 +Dumping to file... +xfsdump -f DUMP_FILE -M stress_tape_media -L session.0 SCRATCH_MNT +xfsdump: using file dump (drive_simple) strategy +xfsdump: level 0 dump of HOSTNAME:SCRATCH_MNT +xfsdump: dump date: DATE +xfsdump: session id: ID +xfsdump: session label: "session.0" +xfsdump: ino map +xfsdump: ino map construction complete +xfsdump: estimated dump size: NUM bytes +xfsdump: /var/xfsdump/inventory created +xfsdump: creating dump session media file 0 (media 0, file 0) +xfsdump: dumping ino map +xfsdump: dumping directories +xfsdump: dumping non-directory files +xfsdump: ending media file +xfsdump: media file size NUM bytes +xfsdump: dump size (non-dir files) : NUM bytes +xfsdump: dump complete: SECS seconds elapsed +xfsdump: Dump Status: SUCCESS +Dumping to file... +xfsdump -f DUMP_FILE -M stress_tape_media -L session.1 SCRATCH_MNT +xfsdump: using file dump (drive_simple) strategy +xfsdump: level 0 dump of HOSTNAME:SCRATCH_MNT +xfsdump: dump date: DATE +xfsdump: session id: ID +xfsdump: session label: "session.1" +xfsdump: ino map +xfsdump: ino map construction complete +xfsdump: estimated dump size: NUM bytes +xfsdump: creating dump session media file 0 (media 0, file 0) +xfsdump: dumping ino map +xfsdump: dumping directories +xfsdump: dumping non-directory files +xfsdump: ending media file +xfsdump: media file size NUM bytes +xfsdump: dump size (non-dir files) : NUM bytes +xfsdump: dump complete: SECS seconds elapsed +xfsdump: Dump Status: SUCCESS +Dumping to file... +xfsdump -f DUMP_FILE -M stress_tape_media -L session.2 SCRATCH_MNT +xfsdump: using file dump (drive_simple) strategy +xfsdump: level 0 dump of HOSTNAME:SCRATCH_MNT +xfsdump: dump date: DATE +xfsdump: session id: ID +xfsdump: session label: "session.2" +xfsdump: ino map +xfsdump: ino map construction complete +xfsdump: estimated dump size: NUM bytes +xfsdump: creating dump session media file 0 (media 0, file 0) +xfsdump: dumping ino map +xfsdump: dumping directories +xfsdump: dumping non-directory files +xfsdump: ending media file +xfsdump: media file size NUM bytes +xfsdump: dump size (non-dir files) : NUM bytes +xfsdump: dump complete: SECS seconds elapsed +xfsdump: Dump Status: SUCCESS +Dumping to file... +xfsdump -f DUMP_FILE -M stress_tape_media -L session.3 SCRATCH_MNT +xfsdump: using file dump (drive_simple) strategy +xfsdump: level 0 dump of HOSTNAME:SCRATCH_MNT +xfsdump: dump date: DATE +xfsdump: session id: ID +xfsdump: session label: "session.3" +xfsdump: ino map +xfsdump: ino map construction complete +xfsdump: estimated dump size: NUM bytes +xfsdump: creating dump session media file 0 (media 0, file 0) +xfsdump: dumping ino map +xfsdump: dumping directories +xfsdump: dumping non-directory files +xfsdump: ending media file +xfsdump: media file size NUM bytes +xfsdump: dump size (non-dir files) : NUM bytes +xfsdump: dump complete: SECS seconds elapsed +xfsdump: Dump Status: SUCCESS +Dumping to file... +xfsdump -f DUMP_FILE -M stress_tape_media -L session.4 SCRATCH_MNT +xfsdump: using file dump (drive_simple) strategy +xfsdump: level 0 dump of HOSTNAME:SCRATCH_MNT +xfsdump: dump date: DATE +xfsdump: session id: ID +xfsdump: session label: "session.4" +xfsdump: ino map +xfsdump: ino map construction complete +xfsdump: estimated dump size: NUM bytes +xfsdump: creating dump session media file 0 (media 0, file 0) +xfsdump: dumping ino map +xfsdump: dumping directories +xfsdump: dumping non-directory files +xfsdump: ending media file +xfsdump: media file size NUM bytes +xfsdump: dump size (non-dir files) : NUM bytes +xfsdump: dump complete: SECS seconds elapsed +xfsdump: Dump Status: SUCCESS +file system 0: + fs ID: ID + session 0: + mount point: HOSTNAME:SCRATCH_MNT + device: HOSTNAME:SCRATCH_DEV + time: TIME + session label: "session.0" + session id: ID + level: 0 + resumed: NO + subtree: NO + streams: 1 + stream 0: + pathname: DUMP_FILE + start: ino INO offset 0 + end: ino INO offset 0 + interrupted: NO + media files: 1 + media file 0: + mfile index: 0 + mfile type: data + mfile size: NUM + mfile start: ino INO offset 0 + mfile end: ino INO offset 0 + media label: "stress_tape_media" + media ID: ID + session 1: + mount point: HOSTNAME:SCRATCH_MNT + device: HOSTNAME:SCRATCH_DEV + time: TIME + session label: "session.1" + session id: ID + level: 0 + resumed: NO + subtree: NO + streams: 1 + stream 0: + pathname: DUMP_FILE + start: ino INO offset 0 + end: ino INO offset 0 + interrupted: NO + media files: 1 + media file 0: + mfile index: 0 + mfile type: data + mfile size: NUM + mfile start: ino INO offset 0 + mfile end: ino INO offset 0 + media label: "stress_tape_media" + media ID: ID + session 2: + mount point: HOSTNAME:SCRATCH_MNT + device: HOSTNAME:SCRATCH_DEV + time: TIME + session label: "session.2" + session id: ID + level: 0 + resumed: NO + subtree: NO + streams: 1 + stream 0: + pathname: DUMP_FILE + start: ino INO offset 0 + end: ino INO offset 0 + interrupted: NO + media files: 1 + media file 0: + mfile index: 0 + mfile type: data + mfile size: NUM + mfile start: ino INO offset 0 + mfile end: ino INO offset 0 + media label: "stress_tape_media" + media ID: ID + session 3: + mount point: HOSTNAME:SCRATCH_MNT + device: HOSTNAME:SCRATCH_DEV + time: TIME + session label: "session.3" + session id: ID + level: 0 + resumed: NO + subtree: NO + streams: 1 + stream 0: + pathname: DUMP_FILE + start: ino INO offset 0 + end: ino INO offset 0 + interrupted: NO + media files: 1 + media file 0: + mfile index: 0 + mfile type: data + mfile size: NUM + mfile start: ino INO offset 0 + mfile end: ino INO offset 0 + media label: "stress_tape_media" + media ID: ID + session 4: + mount point: HOSTNAME:SCRATCH_MNT + device: HOSTNAME:SCRATCH_DEV + time: TIME + session label: "session.4" + session id: ID + level: 0 + resumed: NO + subtree: NO + streams: 1 + stream 0: + pathname: DUMP_FILE + start: ino INO offset 0 + end: ino INO offset 0 + interrupted: NO + media files: 1 + media file 0: + mfile index: 0 + mfile type: data + mfile size: NUM + mfile start: ino INO offset 0 + mfile end: ino INO offset 0 + media label: "stress_tape_media" + media ID: ID +xfsdump: Dump Status: SUCCESS +Processing file /var/xfsdump/inventory/UUIDstab + Found entry for HOSTNAME:SCRATCH_MNT + Match on hostname and path + processing index file + /var/xfsdump/inventory/UUID.InvIndex + Checking access for + /var/xfsdump/inventory/UUID.StObj + Mount point match + Session 0: HOSTNAME:SCRATCH_MNT +------------------------------------------------- +An entry matching the mount point/time is : +UUID : ID +MOUNT POINT : HOSTNAME:SCRATCH_MNT +DEV PATH : HOSTNAME:SCRATCH_DEV +TIME OF DUMP : TIME -seq=`basename $0` -echo "QA output created by $seq" +Do you want to prune this entry: [y/n] -here=`pwd` -tmp=/tmp/$$ -status=1 # failure is the default! -trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 + Session 1: HOSTNAME:SCRATCH_MNT +------------------------------------------------- +An entry matching the mount point/time is : +UUID : ID +MOUNT POINT : HOSTNAME:SCRATCH_MNT +DEV PATH : HOSTNAME:SCRATCH_DEV +TIME OF DUMP : TIME -# get standard environment, filters and checks -. ./common.rc -. ./common.dump +Do you want to prune this entry: [y/n] -# real QA test starts here -_supported_fs xfs -_supported_os IRIX Linux + Session 2: HOSTNAME:SCRATCH_MNT +------------------------------------------------- +An entry matching the mount point/time is : +UUID : ID +MOUNT POINT : HOSTNAME:SCRATCH_MNT +DEV PATH : HOSTNAME:SCRATCH_DEV +TIME OF DUMP : TIME -# wipe test dir clean first -# so dump can be real quick -_wipe_fs +Do you want to prune this entry: [y/n] -# -# Create 5 dumps -# and on the 3rd dump note the date -# which we'll use to prune against using xfsinvutil -# -i=0 -while [ $i -lt 5 ]; do - _do_dump_file -L "session.$i" - if [ $i -eq 2 ]; then - sleep 1 - middate=`date '+%m/%d/%Y %T'` - fi - rm $dump_file - sleep 2 - i=`expr $i + 1` -done - -echo "middate = $middate" >>$seq.full - -# Only say No to 1st question to prune -cat >$tmp.input <