• Home
  • Raw
  • Download

Lines Matching full:echo

9 	echo "scsi_debug was not built in the kernel as a module"
10 echo "Build scsi_debug as a module first before running the test"
17 echo "The scsi_debug module was already loaded, unload it before test..."
23 echo "The scsi_debug module was not unloaded - unload error"
25 echo "The scsi_debug module was unloaded successfully"
26 echo "start testing..."
31 echo " Load the scsi_debug module..."
35 echo "Can't load scsi_debug modules"
39 echo "Check if scsi_debug was loaded..."
43 echo "scsi_debug module was loaded successfully"
45 echo "scsi_debug module was not loaded"
50 echo "Remove the scsi_debug device..."
52 # echo $dev_name
54 # echo $rm_dev
55 echo 1 > /sys/class/scsi_device/$rm_dev/device/delete
57 echo "Check if the scsi_debug device was removed..."
61 echo "The device was not removed - remove error"
63 echo "The device $dev_name was removed successfully"
66 echo "Add the device back..."
67 echo "0 0 0" > /sys/class/scsi_host/host$dev_name/scan
71 echo "The device was not added - add device error"
73 echo "The device $dev_name was added back successfully"
76 echo "Add a new host..."
77 echo 1 > /sys/bus/pseudo/drivers/scsi_debug/add_host
81 echo "The new host was not added - add host error"
83 echo "The new host was added successfully"
86 echo "Romove hosts..."
87 echo -2 > /sys/bus/pseudo/drivers/scsi_debug/add_host
91 echo "The hosts were not removed - remove hosts error"
93 echo "The hosts were removed successfully"
96 echo "Unload scsi_debug moudle..."
101 echo "The scsi_debug module was not unloaded - unload error"
103 echo "The scsi_debug module was unloaded successfully"
106 echo "Load scsi_debug with multiple hosts..."
111 echo "The multiple scsi_debug modules were loaded successfully"
113 echo "The multiple scsi_debug modules were not loaded - load error"
116 echo "Check if modules were loaded as required by premeters..."
120 # echo "max_lunx is $max_luns"
121 # echo "add_host is $add_host"
122 # echo "num_tgts is $num_tgts"
128 echo "max_luns was not correct"
133 echo "add_host was not correct"
138 echo "num_tgts was not correct"
143 echo "multiple scsi_debug was loaded as required premeters"
145 echo "multip.e scsi_debug was not loaded as required premeters"
147 echo "scsi_debug first part of test has been done."
149 echo "Now we are doing fs test for scsi_debug driver..."
153 echo $LTPROOT | grep testscripts > /dev/null 2>&1
165 echo "Not enough scsi_debug partitions to run the test"
171 echo "The 4 partitions used to run the test are:"
173 echo $part1
175 echo $part2
177 echo $part3
179 echo $part4
190 echo "----- make ext3 fs -----"
192 echo "----- make ext2 fs -----"
194 echo "----- make reiserfs fs -----"
196 echo "----- make msdos fs -----"
199 echo "----- Mount partitions -----"
205 echo "----- Running tests ----- "
206 echo "The test may take about 2 hours to finish..."
218 echo "Look into /tmp/fs-scsi_debug.log and /tmp/fs-scsi_debug.out for detail results..."