"Fossies" - the Fresh Open Source Software Archive

Member "aoe-aoe6-86/conf/34-kv.sh" (4 Jul 2015, 513 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 f=linux/drivers/block/aoe/aoeblk.c
    2 
    3 # 34 becomes not applicable when 21 moved the sources to the gd state
    4 # (It's conf/21 in Nov 2010, but it could get renumbered someday.)
    5 gd="`fgrep 'static ssize_t aoedisk_show_netif(struct gendisk *disk, char *page)' $f`"
    6 test "$gd" && { echo skip; exit 0; }
    7 
    8 . conf/kv.sh
    9 echo 'obj-$(CONFIG_ATA_OVER_ETH) += '"$TESTNO"'.o' > conf/Makefile
   10 $make_cmd > conf/$TESTNO.log 2>&1
   11 if test "$?" = "0" &&
   12     test ! "`grep 'owner' conf/$TESTNO.log`"; then
   13     echo old
   14     exit 0
   15 fi
   16 
   17 echo new
   18