Home
last modified time | relevance | path

Searched full:create (Results 1 – 25 of 3842) sorted by relevance

12345678910>>...154

/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/
H A Dbuild_early_index.sh14 CREATE INDEX caller_fn_idx on caller_info (function, call_id);
15 CREATE INDEX caller_ff_idx on caller_info (file, function, call_id);
16 CREATE INDEX common_fn_idx on common_caller_info (function, call_id);
17 CREATE INDEX common_ff_idx on common_caller_info (file, function, call_id);
18 CREATE INDEX call_implies_fn_idx on call_implies (function);
19 CREATE INDEX call_implies_ff_idx on call_implies (file, function);
20 CREATE INDEX return_implies_fn_idx on return_implies (function);
21 CREATE INDEX return_implies_ff_idx on return_implies (file, function);
22 CREATE INDEX data_file_info_idx on data_info (file, data);
23 CREATE INDEX data_info_idx on data_info (data);
[all …]
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dtrigger1.test14 # 1. CREATE and DROP TRIGGER tests
23 # trig-1.9: Ensure that we cannot create a trigger on sqlite_master
36 CREATE TRIGGER trig UPDATE ON no_such_table BEGIN
43 CREATE TEMP TRIGGER trig UPDATE ON no_such_table BEGIN
50 CREATE TABLE t1(a);
53 CREATE TRIGGER tr1 INSERT ON t1 BEGIN
59 CREATE TRIGGER tr1 DELETE ON t1 BEGIN
68 CREATE TRIGGER tr2 INSERT ON t1 BEGIN
71 CREATE TRIGGER tr2 INSERT ON t1 BEGIN
79 CREATE TRIGGER tr1 DELETE ON t1 BEGIN
[all …]
H A Dtable.test13 # focus of this file is testing the CREATE TABLE statement.
20 # Create a basic table and verify it is added to sqlite_master
24 CREATE TABLE test1 (
32 } {{CREATE TABLE test1 (
72 execsql {CREATE TABLE "create" (f1 int)}
74 } {create}
76 execsql {DROP TABLE "create"}
80 execsql {CREATE TABLE test1("f1 ho" int)}
93 execsql {CREATE TABLE TEST2(one text)}
94 set v [catch {execsql {CREATE TABLE test2(two text)}} msg]
[all …]
H A Dmain.test76 CREATE TABLE abc(x,y);
81 CREATE TRIGGER xyz AFTER DELETE abc BEGIN UPDATE pqr;
86 CREATE TRIGGER xyz AFTER DELETE abc BEGIN UPDATE pqr; END;
91 CREATE TRIGGER xyz AFTER DELETE abc BEGIN
98 CREATE TRIGGER xyz AFTER DELETE backend BEGIN
104 CREATE TRIGGER xyz AFTER DELETE end BEGIN
110 CREATE TRIGGER xyz AFTER DELETE end BEGIN
117 CREATE TRIGGER xyz AFTER DELETE end BEGIN
125 CREATE TRIGGER xyz AFTER DELETE [;end;] BEGIN
131 CREATE TRIGGER xyz AFTER DELETE backend BEGIN
[all …]
H A Dtrigger2.test57 {CREATE TEMP TABLE tbl (a, b);}
58 {CREATE TABLE tbl (a, b);}
59 {CREATE TABLE tbl (a INTEGER PRIMARY KEY, b);}
60 {CREATE TEMPORARY TABLE tbl (a INTEGER PRIMARY KEY, b);}
61 {CREATE TABLE tbl (a, b PRIMARY KEY);}
62 {CREATE TABLE tbl (a, b); CREATE INDEX tbl_idx ON tbl(b);}
63 {CREATE TEMP TABLE tbl (a, b); CREATE INDEX tbl_idx ON tbl(b);}
80 CREATE TABLE rlog (idx, old_a, old_b, db_sum_a, db_sum_b, new_a, new_b);
81 CREATE TABLE clog (idx, old_a, old_b, db_sum_a, db_sum_b, new_a, new_b);
83 CREATE TRIGGER before_update_row BEFORE UPDATE ON tbl FOR EACH ROW
[all …]
H A Dindex.test13 # focus of this file is testing the CREATE INDEX statement.
20 # Create a basic index and verify it is added to sqlite_master
23 execsql {CREATE TABLE test1(f1 int, f2 int, f3 int)}
24 execsql {CREATE INDEX index1 ON test1(f1)}
30 } {index1 {CREATE INDEX index1 ON test1(f1)} test1 index}
36 } {index1 {CREATE INDEX index1 ON test1(f1)} test1 index}
53 set v [catch {execsql {CREATE INDEX index1 ON test1(f1)}} msg]
61 execsql {CREATE TABLE test1(f1 int, f2 int, f3 int)}
62 set v [catch {execsql {CREATE INDEX index1 ON test1(f4)}} msg]
69 set v [catch {execsql {CREATE INDEX index1 ON test1(f1, f2, f4, f3)}} msg]
[all …]
H A Dview.test21 CREATE TABLE t1(a,b,c);
32 CREATE VIEW v1 AS SELECT a,b FROM t1;
44 CREATE VIEW v1 AS SELECT a,b FROM t1;
63 CREATE VIEW v1 AS SELECT a,b FROM t1;
75 CREATE TABLE t1(x,a,b,c);
92 CREATE VIEW v2 AS SELECT * FROM t1 WHERE a>5
140 CREATE VIEW v1 AS SELECT a AS 'xyz', b+c AS 'pqr', c-b FROM t1;
146 CREATE VIEW v3 AS SELECT a FROM t1 UNION SELECT b FROM t1 ORDER BY b;
152 CREATE VIEW v4 AS
184 CREATE INDEX i1v1 ON v1(xyz);
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create_encrypted.ksh28 # ZFS should create datasets only if they have a valid combination of
64 # 1. Attempt to create a dataset using all combinations of encryption
79 log_assert "ZFS should create datasets only if they have a valid" \
83 log_must zfs create $TESTPOOL/$TESTFS1
84 log_mustnot zfs create -o keyformat=passphrase $TESTPOOL/$TESTFS1/c1
85 log_mustnot zfs create -o keylocation=prompt $TESTPOOL/$TESTFS1/c1
86 log_mustnot zfs create -o keyformat=passphrase -o keylocation=prompt \
89 log_must zfs create -o encryption=off $TESTPOOL/$TESTFS1/c1
90 log_mustnot zfs create -o encryption=off -o keylocation=prompt \
92 log_mustnot zfs create -o encryption=off -o keyformat=passphrase \
[all …]
H A Dzfs_create_009_neg.ksh38 # 'zfs create <filesystem>' fails with bad <filesystem> arguments, including:
49 # 1. Create an array of <filesystem> arguments
50 # 2. Execute 'zfs create <filesystem>' with each argument
95 log_assert "Verify 'zfs create <filesystem>' fails with bad <filesystem> argument."
98 log_must zfs create $TESTPOOL/$TESTFS
102 log_mustnot zfs create $TESTPOOL
103 log_mustnot zfs create $TESTPOOL/$TESTFS
107 log_mustnot zfs create ${args[$i]}
108 log_mustnot zfs create -p ${args[$i]}
114 log_mustnot zfs create -o ${RW_FS_PROP[i]} -o ${RW_FS_PROP[i]} \
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/misc/
H A Dsetup.ksh46 # Create a default setup that includes a volume
54 # create a snapshot and a clone to test clone promote
57 # create a file in the filesystem that isn't in the above snapshot
61 # create a non-default property and a child we can use to test inherit
62 log_must zfs create $TESTPOOL/$TESTFS/$TESTFS2
66 # create an unmounted filesystem to test unmount
67 log_must zfs create $TESTPOOL/$TESTFS/$TESTFS2.unmounted
80 # create a filesystem that has particular properties to test set/get
81 log_must zfs create -o version=1 $TESTPOOL/$TESTFS/prop
94 # create a filesystem we don't mind renaming
[all …]
H A Dzpool_create_001_neg.ksh37 # Verify that 'zpool create' fails as a non-root user.
40 # 1. Create an array of options.
53 set -A args "create" "create -f" "create -n" \
54 "create $TESTPOOL" "create -f $TESTPOOL" "create -n $TESTPOOL" \
55 "create -fn $TESTPOOL" "create -nf $TESTPOOL" \
56 "create $TESTPOOL $ADD_DISK" "create -f $TESTPOOL $ADD_DISK" \
57 "create -n $TESTPOOL $ADD_DISK" \
58 "create -fn $TESTPOOL $ADD_DISK" \
59 "create -nf $TESTPOOL $ADD_DISK"
61 log_assert "zpool create [-fn] pool_name vdev"
[all …]
/illumos-gate/usr/src/man/man8/
H A Dbeadm.810 \fBbeadm\fR \fBcreate\fR [\fB-a\fR | \fB-t\fR] [\fB-d\fR \fIdescription\fR]
18 \fBbeadm\fR \fBcreate\fR [\fB-v\fR] \fIbeName@snapshot\fR
73 Create a new BE, based on the active BE.
79 Create a new BE, based on an inactive BE.
85 Create a snapshot of an existing BE.
91 Create a new BE, based on an existing snapshot.
97 Create a new BE, and copy it to a different zpool.
165 \fBbeadm\fR \fBcreate\fR [\fB-a\fR | \fB-t\fR] [\fB-d\fR \fIdescription\fR]
198 Create a new BE with a description associated with it.
207 Create a new BE from an existing inactive BE.
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_encrypted.ksh26 # 'zpool create' should create an encrypted dataset only if it has a valid
52 # 1. Attempt to create a dataset using all combinations of encryption
64 log_assert "'zpool create' should create an encrypted dataset only if it" \
67 log_mustnot zpool create -O keylocation=prompt $TESTPOOL $DISKS
68 log_mustnot zpool create -O keyformat=passphrase $TESTPOOL $DISKS
69 log_mustnot zpool create -O keyformat=passphrase -O keylocation=prompt \
72 log_must zpool create -O encryption=off $TESTPOOL $DISKS
75 log_mustnot zpool create -O encryption=off -O keylocation=prompt \
77 log_mustnot zpool create -O encryption=off -O keyformat=passphrase \
79 log_mustnot zpool create -O encryption=off -O keyformat=passphrase \
[all …]
H A Dzpool_create_009_neg.ksh37 # Create a pool with same devices twice or create two pools with same
38 # devices, 'zpool create' should failed.
41 # 1. Loop to create the following three kinds of pools.
45 # 2. Create two pools but using the same disks, expect failed.
46 # 3. Create one pool but using the same disks twice, expect failed.
65 log_assert "Create a pool with same devices twice or create two pools with " \
66 "same devices, 'zpool create' should fail."
80 # Create two pools but using the same disks.
82 log_mustnot zpool create -f $TESTPOOL1 $opt $disk
85 # Create two pools and part of the devices were overlapped
[all …]
H A Dzpool_create_002_pos.ksh37 # 'zpool create -f <pool> <vspec> ...' can successfully create a
42 # 2. Use -f to override the devices to create new pools
70 log_assert "'zpool create -f <pool> <vspec> ...' can successfully create" \
88 log_note "'zpool create' without '-f' will fail " \
90 log_mustnot zpool create "$TESTPOOL1" "${disk}s${SLICE0}"
94 log_note "'zpool create' without '-f' will fail " \
96 log_mustnot zpool create "$TESTPOOL2" "${disk}s${SLICE1}"
100 log_note "'zpool create' mirror without '-f' will fail " \
102 log_mustnot zpool create "$TESTPOOL3" "mirror" $TESTDIR0/$FILEDISK0 $TESTDIR1/$FILEDISK1
106 log_note "'zpool create' mirror without '-f' will fail " \
[all …]
H A Dzpool_create_008_pos.ksh37 # 'zpool create' have to use '-f' scenarios
41 # 2. Create pool without '-f' and verify it fails
42 # 3. Create pool with '-f' and verify it succeeds
51 log_must zpool create -f $TESTPOOL ${disk}s${SLICE0}
75 # create overlap slice 0 and 1 on $disk
103 log_fail "unable to create overlap slice."
109 log_assert "'zpool create' have to use '-f' scenarios"
121 # overlapped slices as vdev need -f to create pool
132 log_mustnot zpool create $TESTPOOL ${disk}s${SLICE0}
133 log_must zpool create -f $TESTPOOL ${disk}s${SLICE0}
[all …]
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dschema.h36 * - CREATE TABLE/INDEX/TRIGGER/VIEW SQL
64 * Upgrade SQL for the cache DB is simple: drop everything, create
68 * Upgrade SQL for the persistent DB is simple: drop the indexes, create
71 * tables, create the latest schema, restore the data from the temp.
93 "CREATE TABLE idmap_cache (" \
107 "CREATE TABLE idmap_cache " \
124 "CREATE TABLE idmap_cache " \
149 "CREATE UNIQUE INDEX idmap_cache_sid_w2u ON idmap_cache" \
153 "CREATE UNIQUE INDEX idmap_cache_sid_w2u ON idmap_cache" \
157 "CREATE UNIQUE INDEX idmap_cache_pid_u2w ON idmap_cache" \
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool/
H A Dzpool_001_neg.ksh40 # 1. Create an array containg each zpool sub-command name.
48 set -A args "" "create" "add" "destroy" "import fakepool" \
49 "export fakepool" "create fakepool" "add fakepool" \
50 "create mirror" "create raidz" "create raidz1" \
51 "create mirror fakepool" "create raidz fakepool" \
52 "create raidz1 fakepool" "create raidz2 fakepool" \
53 "create fakepool mirror" "create fakepool raidz" \
54 "create fakepool raidz1" "create fakepool raidz2" \
/illumos-gate/usr/src/uts/sun4u/io/
H A Dgptwo_cpu.c74 * Devinfo branch create arg
245 b.create.sid_branch_create = set_cmp_props; in gptwocfg_create_cmp_node()
272 "create name property\n"); in set_cmp_props()
279 "create portid property\n"); in set_cmp_props()
292 "create reg property\n"); in set_cmp_props()
315 b.create.sid_branch_create = set_cpu_props; in gptwocfg_create_cpu_node()
382 "to create cpuid property\n"); in set_cpu_common_props()
389 "to create device_type property\n"); in set_cpu_common_props()
396 "to create manufacturer# property\n"); in set_cpu_common_props()
403 "to create implementation# property\n"); in set_cpu_common_props()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zdb/
H A Dzdb_001_neg.ksh40 # 1. Create an array containg bad zdb parameters.
47 set -A args "create" "add" "destroy" "import fakepool" \
48 "export fakepool" "create fakepool" "add fakepool" \
49 "create mirror" "create raidz" \
50 "create mirror fakepool" "create raidz fakepool" \
51 "create raidz1 fakepool" "create raidz2 fakepool" \
52 "create fakepool mirror" "create fakepool raidz" \
53 "create fakepool raidz1" "create fakepool raidz2" \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/privilege/
H A Dprivilege_001_pos.ksh40 # (create)
41 # 1. As a normal user, try to create a pool - which should fail.
42 # 2. Assign "ZFS Storage Management" profile, try to create pool again,
46 # 3. Attempt to create a ZFS filesystem, which should fail.
47 # 4. Add the "ZFS File System Management" profile, attempt to create a FS
65 log_mustnot su $ZFS_USER -c "zpool create $TESTPOOL $DISKS"
66 log_mustnot su $ZFS_USER -c "pfexec zpool create $TESTPOOL $DISKS"
70 log_must su $ZFS_USER -c "pfexec zpool create -f $TESTPOOL $DISKS"
72 # ensure the user can't create a filesystem with this profile
73 log_mustnot su $ZFS_USER -c "zfs create $TESTPOOL/fs"
[all …]
H A Dprivilege_002_pos.ksh45 # (create)
46 # 1. As a normal user, try to create a filesystem - which should fail.
47 # 2. Assign "ZFS File System Management" profile, try to create fs again,
67 # Set a $DATASET where we can create child files systems
69 log_must zpool create -f $TESTPOOL $DISKS
75 # A user shouldn't be able to create filesystems
76 log_mustnot su $ZFS_USER -c "zfs create $DATASET/zfsprivfs"
81 # Now try to create file systems as the user
82 log_mustnot su $ZFS_USER -c "zfs create $DATASET/zfsprivfs"
83 log_must su $ZFS_USER -c "pfexec zfs create $DATASET/zfsprivfs"
[all …]
/illumos-gate/usr/src/test/util-tests/tests/dladm/
H A Dshow-class-confusion.ksh26 # existing hardware. We create everything as a temporary device other than the
85 dladm create-etherstub -t $dl_stub || fatal "failed to create $dl_stub"
86 dladm create-vnic -t -l $dl_stub $dl_vnic || fatal \
87 "failed to create $dl_vnic"
88 dladm create-simnet -t -m Ethernet $dl_sim || fatal \
89 "failed to create $dl_sim"
90 dladm create-vlan -t -v 23 -l $dl_sim $dl_vlan || fatal \
91 "failed to create $dl_vlan"
92 dladm create-iptun -T ipv4 -t $dl_iptun || fatal \
93 "failed to create $dl_iptun"
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dreceive-o-x_props_override.ksh30 # 1. Create a filesystem with children.
32 # 3. Create various send streams (full, incremental, replication) and verify
66 # Create a full send stream
67 log_must zfs create $orig
80 log_must zfs create -V 32K -s $orig/zvol
91 # Create a full send stream
92 log_must zfs create $orig
108 # Create a dataset tree and receive it
109 log_must zfs create $orig
110 log_must zfs create $origsub
[all …]
/illumos-gate/usr/src/test/net-tests/tests/ipv6/
H A Dlink-local.ksh48 dladm create-simnet "$SIMNET" || \
49 fatal "Could not create simnet $SIMNET"
51 dladm create-vnic -l $SIMNET "$IF" || \
52 fatal "Could not create vnic $IF"
136 ipadm create-if $IF
146 ipadm create-addr -T addrconf $IF/ll
157 start "create-if, delete-if, repeat"
164 start "create/delete-addr with plumbed interface"
171 start "create/delete_addr without plumbed interface"
184 start "create_addr, delete-if, create-if, create-addr"
[all …]

12345678910>>...154