Lines Matching refs:TMPDIR
86 TMPDIR=/tmp
123 echo "user $USER, secret $SECRET. Will use mountpoint $MNTDIR, temporary dir $TMPDIR,"
138 check iscontrol -dt $TARGETIP > $TMPDIR/discovered
139 cat $TMPDIR/discovered
140 echo "TargetName=$TARGET1" > $TMPDIR/expected
141 echo "TargetName=$TARGET2" >> $TMPDIR/expected
142 check cmp $TMPDIR/expected $TMPDIR/discovered
143 rm -f $TMPDIR/expected $TMPDIR/discovered
150 iscsictl | awk '{ print $1 }' | sort > $TMPDIR/discovered
151 printf "Target\n$TARGET1\n$TARGET2\n" | sort > $TMPDIR/expected
152 check cmp $TMPDIR/expected $TMPDIR/discovered
153 rm -f $TMPDIR/expected $TMPDIR/discovered
166 check iscsiadm -m discovery -t sendtargets -p $TARGETIP > $TMPDIR/discovered
167 cat $TMPDIR/discovered
168 echo "$TARGETIP:3260,-1 $TARGET1" > $TMPDIR/expected
169 echo "$TARGETIP:3260,-1 $TARGET2" >> $TMPDIR/expected
170 check cmp $TMPDIR/expected $TMPDIR/discovered
171 rm -f $TMPDIR/expected $TMPDIR/discovered
179 check iscsiadm list target | awk '/^Target/ { print $2 }' | sort > $TMPDIR/discovered
181 cat $TMPDIR/discovered
182 echo "$TARGET1" > $TMPDIR/expected
183 echo "$TARGET2" >> $TMPDIR/expected
184 check cmp $TMPDIR/expected $TMPDIR/discovered
185 rm -f $TMPDIR/expected $TMPDIR/discovered
219 cat > $TMPDIR/iscsi.conf << END
235 check iscontrol -c $TMPDIR/iscsi.conf -n target1
236 check iscontrol -c $TMPDIR/iscsi.conf -n target2
246 rm $TMPDIR/iscsi.conf
255 cat > $TMPDIR/iscsi.conf << END
271 check iscsictl -Ac $TMPDIR/iscsi.conf -n target1
272 check iscsictl -Ac $TMPDIR/iscsi.conf -n target2
282 rm $TMPDIR/iscsi.conf