Sage Weil
6fb971ffdb
qa: organize workunits
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-17 15:01:56 -07:00
Sage Weil
9e4adf0de9
qa: make snap-rm-diff workunit clean up
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-17 09:22:24 -07:00
Sage Weil
e9f308df87
qa: wget -q
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-17 09:22:17 -07:00
Sage Weil
3aa6a4d658
qa: pjd must run as root
2011-06-16 14:07:26 -07:00
Tommi Virtanen
af9879deca
qa: Make snaptest-git-ceph.sh clean up after itself.
...
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-15 11:27:54 -07:00
Sage Weil
954e09661f
qa: do not use automake for workunit makefiles
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-14 12:53:33 -07:00
Sage Weil
40f5ab9659
qa/workunits/direct_io: fit .gitignore
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-14 12:35:35 -07:00
Sage Weil
66229c7a54
qa: direct_io: fix warnings
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 22:11:51 -07:00
Sage Weil
8ce98b22de
qa: test_sync_io: zero buffers prior to read
...
Be extra paranoid to ensure we read back the correct data and didn't
just find it in undefined memory.
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 16:23:28 -07:00
Sage Weil
d89c9a1303
qa: test_sync_io improvements
...
Exit (without removing foo) on error.
Allow read- or write-only operation.
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 16:18:23 -07:00
Sage Weil
1e96f71fba
qa: fix test_shorT_dio_read
...
No args, hardcode filename.
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 14:17:16 -07:00
Sage Weil
9d1e897107
qa: fix loopall, runallonce scripts
...
Run anything executable.
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 13:31:35 -07:00
Sage Weil
d5bba79ebb
qa: move compiled workunits into organized directory
...
No need for a separate qa/src/ dir; just put them where we want them. We
need to ignore non-executable files when doing the bulk runs anyway.
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 13:29:30 -07:00
Sage Weil
d851deeac1
qa: add short directio read test
...
This tests for the bug fixed by linux commit:c3cd628.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 13:22:06 -07:00
Sage Weil
8a12a01cf7
qa: add henry's direct io tests
...
Not sure what the second one is testing, actually, but including it anyway.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 13:22:06 -07:00
Sage Weil
7087b2da91
qa: include $basedir/src/ (qa/src/) in path
...
This lets the workunits find stuff build in qa/src/, in case you are
running using these (old) scripts.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 13:22:06 -07:00
Sage Weil
8147076d98
qa: add direct and sync io workunits
...
Just run the test programs in ../src
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 13:22:06 -07:00
Sage Weil
adc98c0e0e
qa: expand test_sync_io
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 13:22:06 -07:00
Sage Weil
f2aef3e1da
qa: organize workunits a bit
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 13:22:06 -07:00
Sage Weil
953bb605e6
qa: move compiled items into qa/src/
2011-06-13 13:22:06 -07:00
Sage Weil
a1a71471c2
qa: test witness subtree adjustment
...
This exercises the mds at least; we don't have a way to verify mds
behavior currently.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-08 11:22:26 -07:00
Sage Weil
21795aaf5d
qa: add dir rename tests
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-07 20:49:45 -07:00
Sage Weil
2969161b9e
qa: add rename dir checks
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-07 13:34:57 -07:00
Sage Weil
2cb0c110b5
qa: rename tests
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-07 13:27:31 -07:00
Tommi Virtanen
c9825f0874
automake: Make debug targets known but not built by default in non-debug builds.
...
With this, "./configure --without-debug && make -C src testceph" will work.
Before this, it would use make builtin rules, and fail to compile in a
confusing manner.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-04-27 12:16:52 -07:00
Tommi Virtanen
a66da4af25
qa: Remove fsx workunit.
...
Covered better by autotest, these days.
2011-04-07 14:07:24 -07:00
Colin Patrick McCabe
a3475610eb
direct_io_test: use mkstmp instead of mkostemps
...
mkostemps isn't present in older glibc versions, like the ones in CentOS
5.5. We don't really use any of the extra functionality of mkostemps in
this test.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-03-17 18:02:17 -07:00
Samuel Just
3fccc0a9f2
qa/workunits: added fsstress.sh
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-03-02 15:55:48 -08:00
Tommi Virtanen
718c42b9df
Make git ignore qa/workunits/direct_io_test.
2011-02-11 12:58:06 -08:00
Wesley Spikes
12a47f5648
s3.sh: simple bug fix
2011-02-10 15:43:30 -08:00
Sage Weil
be8cdb08b2
qa: test for proper i_complete handling
...
This reproduces some buggery with rename vs I_COMPLETE on the kernel
client.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-02-07 09:15:21 -08:00
Colin Patrick McCabe
e251f51fb8
direct_io_test: fix signed/unsigned, printf flags
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-02-03 03:54:22 -08:00
Colin Patrick McCabe
942eb0e015
workunits: direct_io_test: fix error message
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-01-21 02:51:59 -08:00
Colin Patrick McCabe
6a20b83a63
workunits: direct_io_test: add cmdline options
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-01-20 11:18:22 -08:00
Colin Patrick McCabe
42709d1bff
workunits: direct_io_test: test more iterations
...
Test seeking around in an O_DIRECT file to see if we read what we
should.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-01-20 11:07:37 -08:00
Colin Patrick McCabe
f1d7af97f3
workunits: add direct_io_test
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-01-20 10:46:55 -08:00
Colin Patrick McCabe
512cc974fb
qa: Add tiobench test
...
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2011-01-14 04:38:51 -08:00
Sage Weil
62024d0448
qa: add xattr check
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-01-13 15:47:30 -08:00
Colin Patrick McCabe
13e8507b73
auth: make g_conf.keyring a plain old string
...
Make g_conf.keyring a plain old string rather than an array of strings.
Don't do substitution using the user's HOME variable-- this could lead
to security holes for setuid processes.
Get rid of AuthMonitor::read_keyfile because there is already a Keyring
member function, Keyring::load, that does the same thing.
qa/rbd/common.sh: we can now use cconf to figure out what the keyring
is.
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2011-01-02 12:19:35 -08:00
Colin Patrick McCabe
c846615d8b
qa: rbd: small optimization to script
...
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-12-30 10:38:36 -08:00
Colin Patrick McCabe
634cca9530
qa: rbd: Update rbd test to use the new rbd sysfs
...
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-12-30 10:38:36 -08:00
Colin Patrick McCabe
323ac1a72d
qa: rbd: disable automatic keyring discovery
...
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-12-30 10:38:36 -08:00
Colin Patrick McCabe
de8f021204
qa/rbd: minor fixes
...
* qa/rbd/common: create tempdir for script
* qa/rbd/common: try harder to find monhost (try "mon addr" and also
"mon.a addr")
* qa/rbd/rbd.sh: honor $mnt parameter
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-12-29 15:36:22 -08:00
Sage Weil
3d10b34074
mds: fix null_snapflush with multiple intervening snaps
...
The client is allowed to not send a snapflush if there is no dirty metadata
to write for a given snap. However, the mds can only look up inodes by
the last snapid in the interval. So, when doing a null_snapflush (filling
in for snapflushes the client didn't send), we have to walk forward through
intervening snaps until we find the right inode.
Note that this means we will call _do_snap_update multiple times on the
same inode, but with different snapids.
Add unit test to check this.
Signed-off-by: Sage Weil <sage@newdream.net>
2010-11-10 20:58:49 -08:00
Yehuda Sadeh
10466c5263
qa: add rbd test
2010-10-28 15:49:21 -07:00
Yehuda Sadeh
b6ffdf18f2
qa: add basic rbd test
2010-10-28 14:32:06 -07:00
Sage Weil
7f493a11cb
qa: add ffsb
2010-10-13 10:09:43 -07:00
Colin Patrick McCabe
3bab6ac16a
Add the setup-chroot.sh script
...
The setup-chroot.sh script is very handy for building the server in a
chroot environment. I thought I would share it here in case anyone else
finds it useful.
2010-09-28 19:25:10 -07:00
Yehuda Sadeh
628e28e2b2
qa: improved rgw tests
2010-09-24 10:16:14 -07:00
Yehuda Sadeh
1eaec17943
qa: add simple rgw test
2010-09-22 22:40:28 -07:00