Print this page
4474 DTrace Userland CTF Support
4475 DTrace userland Keyword
4476 DTrace tests should be better citizens
4479 pid provider types
4480 dof emulation missing checks
Reviewed by: Bryan Cantrill <bryan@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/dtrace/test/tst/common/pid/tst.provregex1.ksh
          +++ new/usr/src/cmd/dtrace/test/tst/common/pid/tst.provregex1.ksh
↓ open down ↓ 37 lines elided ↑ open up ↑
  38   38  dtrace=$1
  39   39  DIR=${TMPDIR:-/tmp}/dtest.$$
  40   40  
  41   41  mkdir $DIR
  42   42  cd $DIR
  43   43  
  44   44  cat > Makefile <<EOF
  45   45  all: main
  46   46  
  47   47  main: main.o
  48      -        gcc -o main main.o
       48 +        gcc -m32 -o main main.o
  49   49  
  50   50  main.o: main.c
  51      -        gcc -c main.c
       51 +        gcc -m32 -c main.c
  52   52  EOF
  53   53  
  54   54  cat > main.c <<EOF
  55   55  void
  56   56  go(void)
  57   57  {
  58   58  }
  59   59  
  60   60  int
  61   61  main(int argc, char **argv)
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX