6 fgrep
-w "$VAR" -l -R debian
/tmp
/usr
/lib
/ltp
/testcases
/bin |
sed 's/^.*\/\([^/]*\)$/\\\\(\1\\\\)/' |
{
11 echo "g/\(^[^#]\).*\<\($RET\)\>/ s/\$/ # \$$VAR/" ||
16 # mkdir runtest.bak && cp runtest/* runtest.bak
17 # [ -d runtest.bak ] || exit 1
19 DVAR_HOSTS
="$(discover_variable HOSTS)"
20 DVAR_RUSERS
="$(discover_variable RUSERS)"
21 DVAR_RHOST
="$(discover_variable RHOST)"
22 DVAR_RUSER
="$(discover_variable RUSER)"
23 DVAR_PASSWD
="$(discover_variable PASSWD)"
24 DVAR_DEVICE
="$(discover_variable DEVICE)"
25 DVAR_DEVICE_FSTYPE
="$(discover_variable DEVICE_FS_TYPE)"
26 for f
in debian
/tmp
/usr
/lib
/ltp
/runtest
/*; do
28 g#/test/growfiles/reiser# s##"\$GROWFILES_REISER"#g
29 g#/test/growfiles/ramdisk# s##"\$GROWFILES_RAMDISK"#g
30 g#/test/growfiles/nfs# s##"\$GROWFILES_NFS"#g
31 g#/test/growfiles/msdos# s##"\$GROWFILES_MSDOS"#g
32 g#/test/growfiles/minix# s##"\$GROWFILES_MINIX"#g
33 g#/test/growfiles/jfs# s##"\$GROWFILES_JFS"#g
34 g#/test/growfiles/ext3# s##"\$GROWFILES_EXT3"#g
35 g#/test/growfiles/ext2# s##"\$GROWFILES_EXT2"#g
36 g#/test/aiodio2# s##"\$AIODIO2"#g
37 g#/test/aiodio# s##"\$AIODIO"#g
38 g#\<DEVICE_FS_TYPE\># s##"\$DEVICE_FS_TYPE"#g
39 g#\<DEVICE\># s##"\$DEVICE"#g