File: test_9021_writeverify16.sh

package info (click to toggle)
libiscsi 1.20.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,080 kB
  • sloc: ansic: 40,928; xml: 749; sh: 689; makefile: 352
file content (17 lines) | stat: -rwxr-xr-x 330 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

. ./functions.sh

echo "iscsi-test-cu WriteVerify16 test"

start_target
create_disk_lun 1 100M

echo -n "SCSI.WriteVerify16 ... "
../test-tool/iscsi-test-cu -i ${IQNINITIATOR} iscsi://${TGTPORTAL}/${IQNTARGET}/1 -t SCSI.WriteVerify16 --dataloss > /dev/null || failure
success

shutdown_target
delete_disk_lun 1

exit 0