test (NSWhoseSpecifier.test)
http://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/...
Returns the test object encapsulated by the receiver. Available in Mac OS X v10.0 and later.
(NSScriptWhoseTest *)test
testing (clojure.test)
http://clojure.github.com/clojure/clojure.test-api.html#clojure.test/testing
Adds a new string to the list of testing contexts. May be nested, but must occur inside a test function (deftest).
Usage: (testing string & body)
open_distrib_devel /src/linux/arch/arm/kernel /kprobes-test-thumb.c
3. *
4. * Copyright (C) 2011 Jon Medhurst <tixy@yxit.co.uk>.
12. #include <linux/module.h>
13.
14. #include "kprobes-test.h"
15.
16.
17. #define TEST_ISA "16"
18.
19. #define DONT_TEST_IN_ITBLOCK(tests) \
20. kprobe_test_flags |= TEST_FLAG_NO_ITBLOCK; \
21. tests \
22. kprobe_test_flags &= ~TEST_FLAG_NO_ITBLOCK;
23.
833 matches | 1188 lines | C | Bitbucket
open_distrib_devel /src/linux/arch/arm/kernel /kprobes-test-arm.c
3. *
4. * Copyright (C) 2011 Jon Medhurst <tixy@yxit.co.uk>.
12. #include <linux/module.h>
13.
14. #include "kprobes-test.h"
15.
16.
17. #define TEST_ISA "32"
18.
19. #define TEST_ARM_TO_THUMB_INTERWORK_R(code1, reg, val, code2) \
20. TESTCASE_START(code1 #reg code2) \
21. TEST_ARG_REG(reg, val) \
22. TEST_ARG_REG(14, 99f) \
23. TEST_ARG_END("") \
1035 matches | 1331 lines | C | Bitbucket
open_distrib_devel /src/linux/drivers/mmc/card /mmc_test.c
3. *
4. * Copyright 2007-2008 Pierre Ossman
34.
35. /*
36. * Limit the test area size to the maximum MMC HC erase group size. Note that
37. * the maximum SD allocation unit size is just 4MiB.
38. */
39. #define TEST_AREA_MAX_SIZE (128 * 1024 * 1024)
40.
41. /**
42. * struct mmc_test_pages - pages allocated by 'alloc_pages()'.
43. * @page: first page in the allocation
44. * @order: order of the number of pages allocated
45. */
711 matches | 3056 lines | C | Bitbucket
open_distrib_devel /src/osx_opensrc/osx/Heimdal-172.28 /configure
21. DUALCASE=1; export DUALCASE # for MKS sh
22. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23. emulate sh
24. NULLCMD=:
46. # Prefer a ksh shell builtin over an external printf program on Solaris,
47. # but without wasting forks for bash or zsh.
48. if test -z "$BASH_VERSION$ZSH_VERSION" \
49. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50. as_echo='print -r --'
51. as_echo_n='print -rn --'
52. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53. as_echo='printf %s\n'
54. as_echo_n='printf %s'
55. else
2933 matches | 29623 lines | Bourne Shell | Bitbucket
open_distrib_devel /src/osx_opensrc/osx/Heimdal-172.28 /ltmain.sh
59. #
60. # When reporting a bug, please describe a test case to reproduce it and
61. # include the following information:
62. #
79.
80. # Be Bourne compatible
81. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
82. emulate sh
83. NULLCMD=:
100. for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
101. do
102. eval "if test \"\${$lt_var+set}\" = set; then
103. save_$lt_var=\$$lt_var
104. $lt_var=C
653 matches | 7875 lines | Bourne Shell | Bitbucket
open_distrib_devel /src/osx_opensrc/osx/SmartcardCCID-55000/libusb/libusb /configure
14. DUALCASE=1; export DUALCASE # for MKS sh
15. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16. emulate sh
17. NULLCMD=:
39.
40. # The user is always right.
41. if test "${PATH_SEPARATOR+set}" != set; then
42. echo "#! /bin/sh" >conf$$.sh
43. echo "exit 0" >>conf$$.sh
75. do
76. IFS=$as_save_IFS
77. test -z "$as_dir" && as_dir=.
78. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79. done
2437 matches | 20228 lines | Bourne Shell | Bitbucket
open_distrib_devel /src/osx_opensrc/osx/SmartcardCCID-55000/libusb/libusb /ltmain.sh
59. #
60. # When reporting a bug, please describe a test case to reproduce it and
61. # include the following information:
62. #
79.
80. # Be Bourne compatible
81. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
82. emulate sh
83. NULLCMD=:
100. for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
101. do
102. eval "if test \"\${$lt_var+set}\" = set; then
103. save_$lt_var=\$$lt_var
104. $lt_var=C
671 matches | 8414 lines | Bourne Shell | Bitbucket
open_distrib_devel opensrc/osx/SmartcardCCID-55000/libusb/libusb/autom4te.cache /output.0
14. DUALCASE=1; export DUALCASE # for MKS sh
15. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16. emulate sh
17. NULLCMD=:
39.
40. # The user is always right.
41. if test "${PATH_SEPARATOR+set}" != set; then
42. echo "#! /bin/sh" >conf$$.sh
43. echo "exit 0" >>conf$$.sh
75. do
76. IFS=$as_save_IFS
77. test -z "$as_dir" && as_dir=.
78. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79. done
2437 matches | 20232 lines | Unknown | Bitbucket
open_distrib_devel opensrc/osx/SmartcardCCID-55000/libusb/libusb/autom4te.cache /output.1
14. DUALCASE=1; export DUALCASE # for MKS sh
15. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16. emulate sh
17. NULLCMD=:
39.
40. # The user is always right.
41. if test "${PATH_SEPARATOR+set}" != set; then
42. echo "#! /bin/sh" >conf$$.sh
43. echo "exit 0" >>conf$$.sh
75. do
76. IFS=$as_save_IFS
77. test -z "$as_dir" && as_dir=.
78. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79. done
2437 matches | 20228 lines | Unknown | Bitbucket
open_distrib_devel /src/osx_opensrc/osx/SmartcardCCID-55000/ccid/ccid /configure
14. DUALCASE=1; export DUALCASE # for MKS sh
15. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16. emulate sh
17. NULLCMD=:
45. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47. if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48. as_echo='printf %s\n'
49. as_echo_n='printf %s'
50. else
51. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53. as_echo_n='/usr/ucb/echo -n'
71.
2101 matches | 16725 lines | Bourne Shell | Bitbucket
open_distrib_devel /src/osx_opensrc/osx/SmartcardCCID-55000/ccid/ccid /ltmain.sh
59. #
60. # When reporting a bug, please describe a test case to reproduce it and
61. # include the following information:
62. #
79.
80. # Be Bourne compatible
81. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
82. emulate sh
83. NULLCMD=:
100. for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
101. do
102. eval "if test \"\${$lt_var+set}\" = set; then
103. save_$lt_var=\$$lt_var
104. $lt_var=C
671 matches | 8414 lines | Bourne Shell | Bitbucket
open_distrib_devel /src/osx_opensrc/osx/BerkeleyDB-21/db/dist /configure
16. DUALCASE=1; export DUALCASE # for MKS sh
17. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18. emulate sh
19. NULLCMD=:
41.
42. # The user is always right.
43. if test "${PATH_SEPARATOR+set}" != set; then
44. echo "#! /bin/sh" >conf$$.sh
45. echo "exit 0" >>conf$$.sh
77. do
78. IFS=$as_save_IFS
79. test -z "$as_dir" && as_dir=.
80. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81. done
5775 matches | 37202 lines | Bourne Shell | Bitbucket
open_distrib_devel /src/osx_opensrc/osx/BerkeleyDB-21/db/dist /ltmain.sh
50. # commands through without removal of \ escapes.
51. if test -n "${ZSH_VERSION+set}" ; then
52. setopt NO_GLOB_SUBST
53. fi
54.
55. # Check that we have a working $echo.
56. if test "X$1" = X--no-reexec; then
57. # Discard the --no-reexec flag, and continue.
58. shift
59. elif test "X$1" = X--fallback-echo; then
60. # Avoid inline document here, it may be left over
61. :
62. elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
63. # Yippee, $echo works!
624 matches | 6864 lines | Bourne Shell | Bitbucket
open_distrib_devel /src/osx_opensrc/osx/BerkeleyDB-21/db/test /TESTS
2.
3.
4. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
5. backup
6. Test of hotbackup functionality.
7.
8. Do all the of the following tests with and without
9. the -c (checkpoint) option. Make sure that -c and
10. -d (data_dir) are not allowed together.
11.
12. (1) Test that plain and simple hotbackup works.
13. (2) Test with -data_dir (-d).
14. (3) Test updating an existing hot backup (-u).
15. (4) Test with absolute path.
561 matches | 2742 lines | Unknown | Bitbucket
open_distrib_devel /src/osx_opensrc/osx/OpenPAM-17/openpam /aclocal.m4
116. # vanish in a puff of smoke.
117. if test "X${COLLECT_NAMES+set}" != Xset; then
118. COLLECT_NAMES=
119. export COLLECT_NAMES
159.
160. # Set sane defaults for various variables
161. test -z "$AR" && AR=ar
162. test -z "$AR_FLAGS" && AR_FLAGS=cru
163. test -z "$AS" && AS=as
164. test -z "$CC" && CC=cc
165. test -z "$LTCC" && LTCC=$CC
166. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
167. test -z "$DLLTOOL" && DLLTOOL=dlltool
168. test -z "$LD" && LD=ld
589 matches | 7428 lines | m4 | Bitbucket
open_distrib_devel /src/osx_opensrc/osx/OpenPAM-17/openpam /configure
17. DUALCASE=1; export DUALCASE # for MKS sh
18. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19. emulate sh
20. NULLCMD=:
42.
43. # The user is always right.
44. if test "${PATH_SEPARATOR+set}" != set; then
45. echo "#! /bin/sh" >conf$$.sh
46. echo "exit 0" >>conf$$.sh
78. do
79. IFS=$as_save_IFS
80. test -z "$as_dir" && as_dir=.
81. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82. done
2318 matches | 21494 lines | Bourne Shell | Bitbucket
open_distrib_devel /src/osx_opensrc/osx/OpenPAM-17/openpam /ltmain.sh
49. # Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
50. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51. emulate sh
52. NULLCMD=:
62.
63. # Check that we have a working $echo.
64. if test "X$1" = X--no-reexec; then
65. # Discard the --no-reexec flag, and continue.
66. shift
67. elif test "X$1" = X--fallback-echo; then
68. # Avoid inline document here, it may be left over
69. :
70. elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
71. # Yippee, $echo works!
632 matches | 6987 lines | Bourne Shell | Bitbucket
open_distrib_devel /src/osx_opensrc/osx/OpenLDAP-186.2/OpenLDAP /configure
18. DUALCASE=1; export DUALCASE # for MKS sh
19. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20. emulate sh
21. NULLCMD=:
43.
44. # The user is always right.
45. if test "${PATH_SEPARATOR+set}" != set; then
46. echo "#! /bin/sh" >conf$$.sh
47. echo "exit 0" >>conf$$.sh
79. do
80. IFS=$as_save_IFS
81. test -z "$as_dir" && as_dir=.
82. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
83. done
6536 matches | 39588 lines | Bourne Shell | Bitbucket
open_distrib_devel /src/osx_opensrc/osx/OpenLDAP-186.2/OpenLDAP /configure.in
39. eval `$ac_aux_dir/version.sh`
40. if test -z "$OL_STRING"; then
41. AC_MSG_ERROR([could not determine version])
42. fi
43.
44. if test -f "$ac_aux_dir/shtool" && test ! -d $ac_aux_dir/shtool; then
45. ac_cv_shtool="$ac_aux_dir/shtool"
46. else
52.
53. TB="" TN=""
54. if test -t 1; then
55. TB="`$SHTOOL echo -e '%B' 2>/dev/null`"
56. TN="`$SHTOOL echo -e '%b' 2>/dev/null`"
58.
348 matches | 3239 lines | Unknown | Bitbucket
open_distrib_devel /src/osx_opensrc/osx/OpenLDAP-186.2/OpenLDAP/tests/scripts /test058-syncrepl-asymmetric
3. ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4. ##
14. ## <http://www.OpenLDAP.org/license.html>.
15.
16. # This script tests a configuration scenario as described in these URLs:
17. #
18. # http://www.openldap.org/lists/openldap-devel/200806/msg00041.html
19. # http://www.openldap.org/lists/openldap-devel/200806/msg00054.html
20. #
21. # Search for "TEST:" to find each major test this script performs.
22.
23. # The configuration here consist of 3 "sites", each with a "master" and
50. # The search servers replicates from the master server at their site.
51. # They all have a single database with the glue suffix, but their
380 matches | 2408 lines | Bourne Shell | Bitbucket

