4 # Test dumping of large files
6 #-----------------------------------------------------------------------
7 # Copyright (c) 2000, 2002 Silicon Graphics, Inc. All Rights Reserved.
8 #-----------------------------------------------------------------------
14 echo "QA output created by $seq"
18 status=1 # failure is the default!
19 trap "_cleanup; exit \$status" 0 1 2 3 15
21 # get standard environment, filters and checks
33 # real QA test starts here
35 _supported_os IRIX Linux
41 grep "[sS]ize" | sed "s/.*[sS]ize[: ]*\([[:digit:]]*\).*/\1 largefile/g"
44 rm -f $testdir/testfile
45 if src/feature -t $testdir/testfile; then
48 _notrun "Installed libc doesn't correctly handle setrlimit/ftruncate64"
51 _create_dumpdir_largefile
52 echo "ls dumpdir/largefile"
53 stat $dump_dir | _my_stat_filter
56 echo "ls restoredir/largefile"
57 stat $restore_dir/$dump_sdir | _my_stat_filter