File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 86
86
./test/e2e_node/environment/setup_host.sh
87
87
./test/e2e_node/gubernator.sh
88
88
./test/images/image-util.sh
89
- ./test/images/volume/iscsi/create_block.sh
90
89
./test/images/volume/nfs/run_nfs.sh
Original file line number Diff line number Diff line change 17
17
# Exit on the first error.
18
18
set -e
19
19
20
- MNTDIR=` mktemp -d`
20
+ MNTDIR=" $( mktemp -d) "
21
21
22
22
cleanup ()
23
23
{
24
24
# Make sure we return the right exit code
25
25
RET=$?
26
26
# Silently remove everything and ignore errors
27
27
set +e
28
- /bin/umount $MNTDIR 2> /dev/null
29
- /bin/rmdir $MNTDIR 2> /dev/null
28
+ /bin/umount " $MNTDIR " 2> /dev/null
29
+ /bin/rmdir " $MNTDIR " 2> /dev/null
30
30
/bin/rm block 2> /dev/null
31
31
exit $RET
32
32
}
@@ -39,9 +39,9 @@ dd if=/dev/zero of=block seek=120 count=1 bs=1M
39
39
mkfs.ext2 block
40
40
41
41
# Add index.html to it
42
- mount -o loop block $MNTDIR
43
- echo " Hello from iscsi" > $MNTDIR /index.html
44
- umount $MNTDIR
42
+ mount -o loop block " $MNTDIR "
43
+ echo " Hello from iscsi" > " $MNTDIR /index.html"
44
+ umount " $MNTDIR "
45
45
46
46
rm block.tar.gz 2> /dev/null || :
47
47
tar cfz block.tar.gz block
You can’t perform that action at this time.
0 commit comments