• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/cups-408/cups/test/

Lines Matching refs:BASE

198 	BASE=/private/tmp/cups-$user
200 BASE=/tmp/cups-$user
202 export BASE
234 VALGRIND="valgrind --tool=memcheck --log-file=$BASE/log/valgrind.%p --error-limit=no --leak-check=yes --trace-children=yes --read-var-info=yes"
239 echo "Using Valgrind; log files can be found in $BASE/log..."
268 echo "Enabling debug printfs (level 5); log files can be found in $BASE/log..."
269 CUPS_DEBUG_LOG="$BASE/log/debug_printfs.%d"; export CUPS_DEBUG_LOG
275 echo "Enabling debug printfs (level $usedebugprintfs); log files can be found in $BASE/log..."
276 CUPS_DEBUG_LOG="$BASE/log/debug_printfs.%d"; export CUPS_DEBUG_LOG
291 rm -rf $BASE
292 mkdir $BASE
293 mkdir $BASE/bin
294 mkdir $BASE/bin/backend
295 mkdir $BASE/bin/driver
296 mkdir $BASE/bin/filter
297 mkdir $BASE/certs
298 mkdir $BASE/share
299 mkdir $BASE/share/banners
300 mkdir $BASE/share/drv
301 mkdir $BASE/share/locale
304 mkdir $BASE/share/locale/$loc
305 ln -s $root/locale/cups_$loc.po $BASE/share/locale/$loc
306 ln -s $root/locale/ppdc_$loc.po $BASE/share/locale/$loc
308 mkdir $BASE/share/mime
309 mkdir $BASE/share/model
310 mkdir $BASE/share/ppdc
311 mkdir $BASE/interfaces
312 mkdir $BASE/log
313 mkdir $BASE/ppd
314 mkdir $BASE/spool
315 mkdir $BASE/spool/temp
316 mkdir $BASE/ssl
318 ln -s $root/backend/dnssd $BASE/bin/backend
319 ln -s $root/backend/http $BASE/bin/backend
320 ln -s $root/backend/ipp $BASE/bin/backend
321 ln -s $root/backend/lpd $BASE/bin/backend
322 ln -s $root/backend/mdns $BASE/bin/backend
323 ln -s $root/backend/pseudo $BASE/bin/backend
324 ln -s $root/backend/snmp $BASE/bin/backend
325 ln -s $root/backend/socket $BASE/bin/backend
326 ln -s $root/backend/usb $BASE/bin/backend
327 ln -s $root/cgi-bin $BASE/bin
328 ln -s $root/monitor $BASE/bin
329 ln -s $root/notifier $BASE/bin
330 ln -s $root/scheduler $BASE/bin/daemon
331 ln -s $root/filter/commandtops $BASE/bin/filter
332 ln -s $root/filter/gziptoany $BASE/bin/filter
333 ln -s $root/filter/pstops $BASE/bin/filter
334 ln -s $root/filter/rastertoepson $BASE/bin/filter
335 ln -s $root/filter/rastertohp $BASE/bin/filter
336 ln -s $root/filter/rastertolabel $BASE/bin/filter
337 ln -s $root/filter/rastertopwg $BASE/bin/filter
339 ln -s $root/data/classified $BASE/share/banners
340 ln -s $root/data/confidential $BASE/share/banners
341 ln -s $root/data/secret $BASE/share/banners
342 ln -s $root/data/standard $BASE/share/banners
343 ln -s $root/data/topsecret $BASE/share/banners
344 ln -s $root/data/unclassified $BASE/share/banners
345 ln -s $root/data $BASE/share
346 ln -s $root/ppdc/sample.drv $BASE/share/drv
347 ln -s $root/conf/mime.types $BASE/share/mime
348 ln -s $root/conf/mime.convs $BASE/share/mime
349 ln -s $root/data/*.h $BASE/share/ppdc
350 ln -s $root/data/*.defs $BASE/share/ppdc
351 ln -s $root/templates $BASE/share
369 ln -s "$dir/$src" "$BASE/bin/filter/$dst"
377 ln -s gziptoany "$BASE/bin/filter/$dst"
380 cat >"$BASE/bin/filter/$dst" <<EOF
391 chmod +x "$BASE/bin/filter/$dst"
394 cat >"$BASE/bin/filter/$dst" <<EOF
405 chmod +x "$BASE/bin/filter/$dst"
408 cat >"$BASE/bin/filter/$dst" <<EOF
419 chmod +x "$BASE/bin/filter/$dst"
424 ln -s $root/test/test.convs $BASE/share/mime
446 ln -s /usr/share/cups/charsets $BASE/share
462 cat >$BASE/cupsd.conf <<EOF
466 Listen $BASE/sock
485 echo WebInterface yes >>$BASE/cupsd.conf
488 cat >$BASE/cups-files.conf <<EOF
492 ServerRoot $BASE
493 StateDir $BASE
494 ServerBin $BASE/bin
495 CacheDir $BASE/share
496 DataDir $BASE/share
497 FontPath $BASE/share/fonts
499 RequestRoot $BASE/spool
500 TempDir $BASE/spool/temp
501 AccessLog $BASE/log/access_log
502 ErrorLog $BASE/log/error_log
503 PageLog $BASE/log/page_log
507 echo "ServerKeychain $HOME/Library/Keychains/login.keychain" >> $BASE/cups-files.conf
518 cat >>$BASE/printers.conf <<EOF
530 cp testps.ppd $BASE/ppd/test-$i.ppd
536 cat >>$BASE/printers.conf <<EOF
551 if test -f $BASE/printers.conf; then
552 cp $BASE/printers.conf $BASE/printers.conf.orig
554 touch $BASE/printers.conf.orig
595 CUPS_SERVERROOT=$BASE; export CUPS_SERVERROOT
596 CUPS_STATEDIR=$BASE; export CUPS_STATEDIR
597 CUPS_DATADIR=$BASE/share; export CUPS_DATADIR
598 LOCALEDIR=$BASE/share/locale; export LOCALEDIR
604 HOME=$BASE
622 echo " $VALGRIND ../scheduler/cupsd -c $BASE/cupsd.conf -f >$BASE/log/debug_log 2>&1 &"
626 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib MallocStackLogging=1 ../scheduler/cupsd -c $BASE/cupsd.conf -f >$BASE/log/debug_log 2>&1 &
628 $VALGRIND ../scheduler/cupsd -c $BASE/cupsd.conf -f >$BASE/log/debug_log 2>&1 &
639 runcups="$BASE/runcups"
697 strfile=$BASE/cups-str-2.0-$date-$user.html
773 malloc_history $cupsd -callTree -showContent >$BASE/log/malloc_log 2>&1
828 count=`ls -1 $BASE/spool | wc -l`
840 count=`$GREP '^Test1 ' $BASE/log/page_log | awk 'BEGIN{count=0}{count=count+$7}END{print count}'`
853 count=`$GREP '^Test2 ' $BASE/log/page_log | awk 'BEGIN{count=0}{count=count+$7}END{print count}'`
865 count=`$GREP '^Test3 ' $BASE/log/page_log | grep -v total | awk 'BEGIN{count=0}{count=count+$7}END{print count}'`
877 count=`wc -l $BASE/log/access_log | awk '{print $1}'`
889 if $GREP -q CUPS-Get-Default $BASE/log/access_log; then
893 $GREP CUPS-Get-Default $BASE/log/access_log | sed -e '1,$s/&/&amp;/g' -e '1,$s/</&lt;/g' >>$strfile
902 count=`$GREP '^X ' $BASE/log/error_log | wc -l | awk '{print $1}'`
905 $GREP '^X ' $BASE/log/error_log
908 $GREP '^X ' $BASE/log/error_log | sed -e '1,$s/&/&amp;/g' -e '1,$s/</&lt;/g' >>$strfile
917 count=`$GREP '^A ' $BASE/log/error_log | wc -l | awk '{print $1}'`
920 $GREP '^A ' $BASE/log/error_log
923 $GREP '^A ' $BASE/log/error_log | sed -e '1,$s/&/&amp;/g' -e '1,$s/</&lt;/g' >>$strfile
932 count=`$GREP '^C ' $BASE/log/error_log | wc -l | awk '{print $1}'`
935 $GREP '^C ' $BASE/log/error_log
938 $GREP '^C ' $BASE/log/error_log | sed -e '1,$s/&/&amp;/g' -e '1,$s/</&lt;/g' >>$strfile
947 count=`$GREP '^E ' $BASE/log/error_log | wc -l | awk '{print $1}'`
950 $GREP '^E ' $BASE/log/error_log
953 $GREP '^E ' $BASE/log/error_log | sed -e '1,$s/&/&amp;/g' -e '1,$s/</&lt;/g' >>$strfile
962 count=`$GREP '^W ' $BASE/log/error_log | $GREP -v CreateProfile | wc -l | awk '{print $1}'`
965 $GREP '^W ' $BASE/log/error_log
968 $GREP '^W ' $BASE/log/error_log | sed -e '1,$s/&/&amp;/g' -e '1,$s/</&lt;/g' >>$strfile
977 count=`$GREP '^N ' $BASE/log/error_log | wc -l | awk '{print $1}'`
980 $GREP '^N ' $BASE/log/error_log
983 $GREP '^N ' $BASE/log/error_log | sed -e '1,$s/&/&amp;/g' -e '1,$s/</&lt;/g' >>$strfile
992 count=`$GREP '^I ' $BASE/log/error_log | wc -l | awk '{print $1}'`
1003 count=`$GREP '^D ' $BASE/log/error_log | wc -l | awk '{print $1}'`
1014 count=`$GREP '^d ' $BASE/log/error_log | wc -l | awk '{print $1}'`
1027 sed -e '1,$s/&/&amp;/g' -e '1,$s/</&lt;/g' $BASE/log/access_log >>$strfile
1032 $GREP -v '^d' $BASE/log/error_log | sed -e '1,$s/&/&amp;/g' -e '1,$s/</&lt;/g' >>$strfile
1037 sed -e '1,$s/&/&amp;/g' -e '1,$s/</&lt;/g' $BASE/log/page_log >>$strfile
1050 cp $BASE/log/error_log error_log-$date-$user
1056 echo "Log files can be found in $BASE/log."