blob: b4d50f6c402a9fb95708677ecc9ccffe0d80766a [file] [log] [blame]
plars122242c2001-06-27 20:26:37 +00001#!/bin/sh
2# These tests require the corresponding media to be present:
3#
4# stress_floppy: Requires a writeable HD floppy disk
5#
6# stress_cd: Requires ANY data CD with a minimum of 100MB of data.
7#
8# NOTE: The stress_floppy test is easily modifiable for use on any
9# write device, i.e. tape drive, zip drive....etc
10#
11
12cd `dirname $0`
13export LTPROOT=${PWD}
14
15export TMPDIR=/tmp
16
17mkdir /tmp/diskiopan-$$
18cd /tmp/diskiopan-$$
19
plars2c8e1fa2001-09-06 12:14:19 +000020export PATH="${PATH}:${LTPROOT}/testcases/bin"
plars122242c2001-06-27 20:26:37 +000021
robbiew03cbf732001-10-12 21:06:50 +000022${LTPROOT}/ver_linux
23
plarsfe5649c2001-09-06 19:32:44 +000024${LTPROOT}/pan/pan -e -l /tmp/diskiopan.log -S -a ltpdiskio -n ltpdiskio -f ${LTPROOT}/runtest/io
plars122242c2001-06-27 20:26:37 +000025
26if [ $? -eq "0" ]; then
27 echo pan reported PASS
28else
29 echo pan reported FAIL
30fi
31