"Fossies" - the Fresh Open Source Software Archive

Member "aoe-aoe6-86/conf/24-kv.sh" (4 Jul 2015, 866 Bytes) of archive /linux/misc/aoe-aoe6-86.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # skip this compat test if 2 made the aoe sources use class_simple
    2 old="`grep 'class_simple' linux/drivers/block/aoe/aoechr.c`"
    3 test "$old" && { echo skip; exit 0; }
    4 
    5 . conf/kv.sh
    6 echo 'obj-$(CONFIG_ATA_OVER_ETH) += '"$TESTNO-cdc4"'.o' > conf/Makefile
    7 $make_cmd > conf/$TESTNO-cdc4.log 2>&1
    8 test "$?" = "0" && { echo cdc4; exit 0; }
    9 
   10 echo 'obj-$(CONFIG_ATA_OVER_ETH) += '"$TESTNO-cdc5"'.o' > conf/Makefile
   11 $make_cmd > conf/$TESTNO-cdc5.log 2>&1
   12 test "$?" = "0" && { echo cdc5; exit 0; }
   13 
   14 echo 'obj-$(CONFIG_ATA_OVER_ETH) += '"$TESTNO-dcd"'.o' > conf/Makefile
   15 $make_cmd > conf/$TESTNO-dcd.log 2>&1
   16 test "$?" = "0" && { echo dcd; exit 0; }
   17 
   18 echo 'obj-$(CONFIG_ATA_OVER_ETH) += '"$TESTNO-dc"'.o' > conf/Makefile
   19 $make_cmd > conf/$TESTNO-dc.log 2>&1
   20 test "$?" = "0" && { echo dc; exit 0; }
   21 
   22 echo "`basename $0` Error: could not identify kernel source state" 1>&2
   23 exit 1