Print this page
NEX-10070 Rebuild fails in zfs-tests/.../threadsappend
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
NEX-2835 nightly_test script should support running of test-runner tests (zfs in particular)
4206 history_003_pos relies on exact size of history log and entries
4207 history_008_pos depends on obsolete internal history log message
4208 Typo in zfs_main.c: "posxiuser"
4209 Populate zfstest with the remainder of the STF tests
Reviewed by: Sonu Pillai <sonu.pillai@delphix.com>
Reviewed by: Will Guyette <will.guyette@delphix.com>
Reviewed by: Eric Diven <eric.diven@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>

Split Close
Expand all
Collapse all
          --- old/usr/src/test/zfs-tests/tests/functional/threadsappend/Makefile
          +++ new/usr/src/test/zfs-tests/tests/functional/threadsappend/Makefile
↓ open down ↓ 20 lines elided ↑ open up ↑
  21   21  PROG = threadsappend
  22   22  
  23   23  SCRIPTS = cleanup \
  24   24          setup \
  25   25          threadsappend_001_pos
  26   26  
  27   27  include $(SRC)/cmd/Makefile.cmd
  28   28  include $(SRC)/test/Makefile.com
  29   29  
  30   30  ROOTOPTPKG = $(ROOT)/opt/zfs-tests
       31 +ROOTBIN = $(ROOTOPTPKG)/bin
  31   32  
  32   33  OBJS = $(PROG:%=%.o)
  33   34  SRCS = $(OBJS:%.o=%.c)
  34   35  
  35      -CMDS = $(PROG:%=$(TESTDIR)/%) $(SCRIPTS:%=$(TESTDIR)/%)
       36 +CMDS = $(PROG:%=$(ROOTBIN)/%) $(SCRIPTS:%=$(TESTDIR)/%)
  36   37  $(CMDS) := FILEMODE = 0555
  37   38  
  38   39  CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  39   40  
  40   41  all: $(PROG)
  41   42  
  42   43  $(PROG): $(OBJS)
  43   44          $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  44   45          $(POST_PROCESS)
  45   46  
↓ open down ↓ 13 lines elided ↑ open up ↑
  59   60  $(CMDS): $(TESTDIR) $(PROG)
  60   61  
  61   62  $(TESTDIR):
  62   63          $(INS.dir)
  63   64  
  64   65  $(TESTDIR)/%: %
  65   66          $(INS.file)
  66   67  
  67   68  $(TESTDIR)/%: %.ksh
  68   69          $(INS.rename)
       70 +
       71 +$(ROOTBIN)/%: %
       72 +        $(INS.file)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX