unionfs-regression-odf.git
17 years agoUse correct erase size for jffs2 image (avoids annoying console warnings) master
Erez Zadok [Sat, 16 Feb 2008 18:44:53 +0000 (13:44 -0500)]
Use correct erase size for jffs2 image (avoids annoying console warnings)

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
17 years agoUse tmpfs/ramfs on all lower branches in default.conf
Rachita Kothiyal [Thu, 3 Jan 2008 22:42:04 +0000 (17:42 -0500)]
Use tmpfs/ramfs on all lower branches in default.conf

Signed-off-by: Rachita Kothiyal<rachita@fsl.cs.sunysb.edu>
17 years agoUse tmpfs/ramfs on all lower branches
Rachita Kothiyal [Thu, 3 Jan 2008 22:33:39 +0000 (17:33 -0500)]
Use tmpfs/ramfs on all lower branches

Signed-off-by: Rachita Kothiyal <rachita@fsl.cs.sunysb.edu>
17 years agopatch unionfs-odf-regression-mmap-fix.patch
Rachita Kothiyal [Tue, 1 Jan 2008 21:39:41 +0000 (16:39 -0500)]
patch unionfs-odf-regression-mmap-fix.patch

17 years agoImport changes to t-symlink.sh from unionfs regression.
Rachita Kothiyal [Fri, 28 Dec 2007 21:03:36 +0000 (16:03 -0500)]
Import changes to t-symlink.sh from unionfs regression.

Signed-off-by: Rachita Kothiyal <rachita@fsl.cs.sunysb.edu>
17 years agoUnionfs ODF regression: Support creation/detection of pipes and character/block devices
Rachita Kothiyal [Fri, 28 Dec 2007 04:45:59 +0000 (23:45 -0500)]
Unionfs ODF regression: Support creation/detection of pipes and character/block devices

Signed-off-by: Rachita Kothiyal <rachita@fsl.cs.sunysb.edu>
17 years agoUnionfs ODF regression: Import changes to mknod from unionfs regression
Rachita Kothiyal [Fri, 28 Dec 2007 04:10:42 +0000 (23:10 -0500)]
Unionfs ODF regression: Import changes to mknod from unionfs regression

Signed-off-by: Rachita Kothiyal <rachita@fsl.cs.sunysb.edu>
17 years agorename-whiteout: match proper semantics with ODF, accounting for chattr
Erez Zadok [Sun, 2 Dec 2007 19:52:17 +0000 (14:52 -0500)]
rename-whiteout: match proper semantics with ODF, accounting for chattr
support or lack thereof.

17 years agochgrp to 0 also subdirs under /odf/ns
Erez Zadok [Thu, 29 Nov 2007 08:09:23 +0000 (03:09 -0500)]
chgrp to 0 also subdirs under /odf/ns

17 years agochgrp /odf/ns to gid 0 when we create it by hand
Erez Zadok [Thu, 29 Nov 2007 08:00:03 +0000 (03:00 -0500)]
chgrp /odf/ns to gid 0 when we create it by hand

17 years agochmod all shell scripts executable
Erez Zadok [Thu, 29 Nov 2007 07:21:32 +0000 (02:21 -0500)]
chmod all shell scripts executable

17 years agoMerge branch 'master' of git:/home/git/unionfs-regression-odf
Erez Zadok [Thu, 29 Nov 2007 03:03:19 +0000 (22:03 -0500)]
Merge branch 'master' of git:/home/git/unionfs-regression-odf

17 years agoupdate progs/.gitignore
Erez Zadok [Thu, 29 Nov 2007 03:02:58 +0000 (22:02 -0500)]
update progs/.gitignore

17 years agoRegression-ODF: Add rmdir test to the list of tests in odf.conf
Rachita Kothiyal [Thu, 29 Nov 2007 02:43:12 +0000 (21:43 -0500)]
Regression-ODF: Add rmdir test to the list of tests in odf.conf

17 years agoAllow passing config file name to run-all-tests.
Erez Zadok [Thu, 29 Nov 2007 02:02:43 +0000 (21:02 -0500)]
Allow passing config file name to run-all-tests.

17 years agoRegression-ODF: Sync up with the t-unlink-whiteout.sh from the
Rachita Kothiyal [Thu, 29 Nov 2007 00:11:05 +0000 (19:11 -0500)]
Regression-ODF: Sync up with the t-unlink-whiteout.sh from the
Non-ODF regression suite.

17 years agoRegression-ODF: Sync up t-rmdir.sh with the Non-odf regression
Rachita Kothiyal [Thu, 29 Nov 2007 00:08:50 +0000 (19:08 -0500)]
Regression-ODF: Sync up t-rmdir.sh with the Non-odf regression
suite.

17 years agoMakefile(s): add "clean" target and minor cleanup
Erez Zadok [Tue, 27 Nov 2007 03:54:29 +0000 (22:54 -0500)]
Makefile(s): add "clean" target and minor cleanup

17 years agoModifed t-rmdir.sh for Unionfs-ODF
Rachita Kothiyal [Sun, 25 Nov 2007 05:23:58 +0000 (00:23 -0500)]
Modifed t-rmdir.sh for Unionfs-ODF

17 years agoadd new rmdir test
Erez Zadok [Wed, 21 Nov 2007 08:54:17 +0000 (03:54 -0500)]
add new rmdir test

17 years agodisplay progress message in mkdir test
Erez Zadok [Wed, 21 Nov 2007 09:00:04 +0000 (04:00 -0500)]
display progress message in mkdir test

Conflicts:

t-mkdir.sh

17 years agoupdate file mode
Erez Zadok [Sun, 11 Nov 2007 03:45:27 +0000 (22:45 -0500)]
update file mode

17 years agoadd compile+execute test which exercises mmap
Erez Zadok [Sun, 11 Nov 2007 03:44:41 +0000 (22:44 -0500)]
add compile+execute test which exercises mmap

17 years agoAdding link-rename test. The odf test suite is now complete.
Rachita Kothiyal [Wed, 7 Nov 2007 02:13:09 +0000 (21:13 -0500)]
Adding link-rename test. The odf test suite is now complete.

17 years agoMore tests made generic:
Rachita Kothiyal [Sun, 21 Oct 2007 07:50:43 +0000 (03:50 -0400)]
More tests made generic:
1)ioctl
2)link
3)mmap
4)rename-whiteout

17 years agoAdded opaque dir sematics
Rachita Kothiyal [Fri, 19 Oct 2007 22:15:39 +0000 (18:15 -0400)]
Added opaque dir sematics
More tests added to be generic:
1) lookup-opaque
2) mkdir
3) open-unlink
4) rename-matrix
5) symlink
6) truncate-all
7) unlink-whiteout

17 years agoEliminate need for mtdblock module when using jffs2.
Erez Zadok [Fri, 19 Oct 2007 20:52:39 +0000 (16:52 -0400)]
Eliminate need for mtdblock module when using jffs2.

17 years agoMore tests added to being generic
Rachita Kothiyal [Thu, 18 Oct 2007 01:46:01 +0000 (21:46 -0400)]
More tests added to being generic
1) create
2) mknod
3) open
4) readdir

17 years agoChanges to make some tests generic(ODF and non-ODF cases)
Rachita Kothiyal [Wed, 17 Oct 2007 03:24:16 +0000 (23:24 -0400)]
Changes to make some tests generic(ODF and non-ODF cases)

Modifed the following tests:
1) t-lookup
2) t-flock
3) t-fsync
4) t-creat-open

17 years agoChanges to chmod and lookup tests
Rachita Kothiyal [Tue, 16 Oct 2007 06:34:54 +0000 (02:34 -0400)]
Changes to chmod and lookup tests

17 years agoMore cleanups to check_hierarchy
Rachita Kothiyal [Tue, 16 Oct 2007 05:49:04 +0000 (01:49 -0400)]
More cleanups to check_hierarchy

17 years agoRemove unnecessary odf files from t-lookup.sh
Rachita Kothiyal [Mon, 15 Oct 2007 19:12:11 +0000 (15:12 -0400)]
Remove unnecessary odf files from t-lookup.sh

17 years agoLast leg of infrastructure patches.
Rachita Kothiyal [Mon, 15 Oct 2007 19:06:54 +0000 (15:06 -0400)]
Last leg of infrastructure patches.
1)Removed POPULATE_ODF
2)Made check hierarchy ODF whiteout aware
3)t-lookup.sh is now ready

17 years agoMake discard_odf a no-op for non odf
Rachita Kothiyal [Sun, 14 Oct 2007 18:25:09 +0000 (14:25 -0400)]
Make discard_odf  a no-op for non odf

17 years agoMore cleanups to the ODF code
Rachita Kothiyal [Sun, 14 Oct 2007 18:21:44 +0000 (14:21 -0400)]
More cleanups to the ODF code

17 years agocleanup some odf-specific code. 1st code review done.
Erez Zadok [Sat, 13 Oct 2007 19:57:46 +0000 (15:57 -0400)]
cleanup some odf-specific code.  1st code review done.

17 years agoAllow users to override delay using $MYDELAY env var.
Erez Zadok [Mon, 1 Oct 2007 05:07:22 +0000 (01:07 -0400)]
Allow users to override delay using $MYDELAY env var.

17 years agoSupport 2.6.9's older style blkmtd driver.
Erez Zadok [Mon, 1 Oct 2007 05:06:36 +0000 (01:06 -0400)]
Support 2.6.9's older style blkmtd driver.

17 years agoMinor fix to misued whiteout semantics in t-create
Rachita Kothiyal [Sat, 13 Oct 2007 08:03:15 +0000 (04:03 -0400)]
Minor fix to misued whiteout semantics in t-create

17 years agoAdding more modified tests for ODF.
Rachita Kothiyal [Sat, 13 Oct 2007 07:38:25 +0000 (03:38 -0400)]
Adding more modified tests for ODF.
chmod, creat-open, flock, fsync, lookup, mknod are now generic(ie, they
can handle both ODF and non-ODF cases)

17 years agoHardcoding TESTS2RUN to create, to test only create for now
Rachita Kothiyal [Fri, 12 Oct 2007 21:25:57 +0000 (17:25 -0400)]
Hardcoding TESTS2RUN to create, to test only create for now

17 years agoODF related changes to the regression suite.
Rachita Kothiyal [Fri, 12 Oct 2007 20:42:20 +0000 (16:42 -0400)]
ODF related changes to the regression suite.
1)Enables hand creation of the odf, odf sb creation, whiteout creation.
2)t-create test modified for ODF. Not compatible with non-ODF plain unionfs yet.

17 years agoStart new ODF repo for regression suite.
Erez Zadok [Wed, 26 Sep 2007 01:55:42 +0000 (21:55 -0400)]
Start new ODF repo for regression suite.
Turn on ODF=1 in default.conf.

17 years agoDocument the now-working nfs4 support.
Erez_Zadok [Mon, 24 Sep 2007 05:30:35 +0000 (01:30 -0400)]
Document the now-working nfs4 support.

17 years agoqueryfile: more efficient allocation
Erez_Zadok [Sun, 23 Sep 2007 17:36:43 +0000 (13:36 -0400)]
queryfile: more efficient allocation

Also avoids repeated calls to realloc(), which appear to tickle a possible
glibc bug.

17 years agodocument mkfs.reiserfs memory-consumption issues
Erez_Zadok [Mon, 10 Sep 2007 23:11:58 +0000 (19:11 -0400)]
document mkfs.reiserfs memory-consumption issues

17 years agofix small typo in error message when f/s isn't supported.
Erez_Zadok [Mon, 10 Sep 2007 23:11:28 +0000 (19:11 -0400)]
fix small typo in error message when f/s isn't supported.

17 years agotypo/thinko
Josef 'Jeff' Sipek [Thu, 6 Sep 2007 14:07:59 +0000 (10:07 -0400)]
typo/thinko

17 years agomerge with story
Josef 'Jeff' Sipek [Thu, 6 Sep 2007 14:04:42 +0000 (10:04 -0400)]
merge with story

17 years agolet's try this again...create test fixup
Josef 'Jeff' Sipek [Thu, 6 Sep 2007 14:03:19 +0000 (10:03 -0400)]
let's try this again...create test fixup

17 years agot-create.sh: update create test for new unionfs_create semantics.
Erez_Zadok [Thu, 6 Sep 2007 06:27:59 +0000 (02:27 -0400)]
t-create.sh: update create test for new unionfs_create semantics.

run-tests: work around race bug in block2mtd.

*.conf (DELAY): reduce default delay to 0.1 seconds.

17 years agoMerge branch 'master' of story:/home/git/unionfs-regression
Josef 'Jeff' Sipek [Fri, 31 Aug 2007 17:03:58 +0000 (13:03 -0400)]
Merge branch 'master' of story:/home/git/unionfs-regression

18 years agoTest for unsupported file systems and skip them (no false negatives)
Erez_Zadok [Thu, 2 Aug 2007 03:01:24 +0000 (23:01 -0400)]
Test for unsupported file systems and skip them (no false negatives)

18 years agoMerge branch 'master' of story:/home/git/unionfs-regression
Josef 'Jeff' Sipek [Wed, 1 Aug 2007 17:42:10 +0000 (13:42 -0400)]
Merge branch 'master' of story:/home/git/unionfs-regression

18 years agoRewrite truncate-all test more cleanly.
Erez_Zadok [Wed, 1 Aug 2007 14:24:49 +0000 (10:24 -0400)]
Rewrite truncate-all test more cleanly.

18 years agofix typo in comment
Erez_Zadok [Wed, 1 Aug 2007 06:27:29 +0000 (02:27 -0400)]
fix typo in comment

18 years agocramfs fix for mmap test: prepared lower file before mounting ro union
Erez_Zadok [Wed, 1 Aug 2007 06:26:59 +0000 (02:26 -0400)]
cramfs fix for mmap test: prepared lower file before mounting ro union

18 years agoMark test script executable
Josef 'Jeff' Sipek [Mon, 23 Jul 2007 16:29:01 +0000 (12:29 -0400)]
Mark test script executable

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
18 years agoEnsure that internal program tests immediately abort the entire test.
Erez_Zadok [Sun, 22 Jul 2007 07:40:02 +0000 (03:40 -0400)]
Ensure that internal program tests immediately abort the entire test.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
18 years agoImprove the mmap test.
Erez_Zadok [Sat, 14 Jul 2007 07:58:01 +0000 (03:58 -0400)]
Improve the mmap test.

1. produce files that are larger than one page, so we test multi-page mmap
   reads and writes.

2. perform mmap reads and writes on BOTH the read-write and read-only
   branches.

18 years agoIn the mmap-testing backend program, read the mmap'ed file completely.
Erez_Zadok [Sat, 14 Jul 2007 07:46:13 +0000 (03:46 -0400)]
In the mmap-testing backend program, read the mmap'ed file completely.

Instead of reading just the first byte of the file, read a few bytes in each
page, all the way to the end of the file, so we touch the entire file.  This
is useful to simulate memory-pressure conditions.

18 years agosupport reiser4 mounts (even though reiser4 appears to be broken)
Erez_Zadok [Fri, 13 Jul 2007 22:54:08 +0000 (18:54 -0400)]
support reiser4 mounts (even though reiser4 appears to be broken)

18 years agoUpdate list of tests to all those tried (and mention reiser4's status)
Erez_Zadok [Fri, 13 Jul 2007 22:52:06 +0000 (18:52 -0400)]
Update list of tests to all those tried (and mention reiser4's status)

18 years agosupport squashfs mounts (tested, working)
Erez_Zadok [Thu, 12 Jul 2007 04:41:22 +0000 (00:41 -0400)]
support squashfs mounts (tested, working)

18 years agoShow sub-parts being run in the symlink test.
Erez_Zadok [Thu, 12 Jul 2007 04:26:37 +0000 (00:26 -0400)]
Show sub-parts being run in the symlink test.

If any of the intermediate 'ln' commands failed, abort test right away.

18 years agodocumentation: update with new file systems unionfs tested with
Erez_Zadok [Thu, 12 Jul 2007 02:25:27 +0000 (22:25 -0400)]
documentation: update with new file systems unionfs tested with

18 years agoshow helpful cramfs state in a different color
Erez_Zadok [Thu, 12 Jul 2007 02:20:10 +0000 (22:20 -0400)]
show helpful cramfs state in a different color

This helps distinguish these messages from the state of the test messages.

18 years agotest cramfs with tmpfs together
Erez_Zadok [Thu, 12 Jul 2007 02:18:53 +0000 (22:18 -0400)]
test cramfs with tmpfs together

Often, people use a source readonly branch which is a compressed file
system, and a destination branch which is a ram-based file system.

18 years agoturn on cramfs support in regression configuration files.
Erez_Zadok [Thu, 12 Jul 2007 02:00:18 +0000 (22:00 -0400)]
turn on cramfs support in regression configuration files.

18 years agofix truncate test so it checks for chattr ability after mounting the union
Erez_Zadok [Thu, 12 Jul 2007 01:58:50 +0000 (21:58 -0400)]
fix truncate test so it checks for chattr ability after mounting the union

Also recheck chattr ability after each union mount.  This is because the
mount_union routine may have changed the underlying mounts to
cramfs/squashfs.

18 years agosupport cramfs mounts
Erez_Zadok [Thu, 12 Jul 2007 01:57:00 +0000 (21:57 -0400)]
support cramfs mounts

Somewhat complicated: we have to build the regular directory and file
hierarchy using ext2, then generate a cramfs image and loopback mount it,
and all inside the tests themselves.  So support for cramfs (and similar
special file systems) has to be built into the scaffold lower-level
routines.

Also: in the havechattr test, if "touch" on the branch failed, assume that
there's no chatter support (or that it can't be used, e.g., in a readonly
file system).

Finally, don't show stderr messages in havechattr.

18 years agoexport extra variables needed by other test scripts
Erez_Zadok [Thu, 12 Jul 2007 01:53:45 +0000 (21:53 -0400)]
export extra variables needed by other test scripts

18 years agocleanup defunct/old code
Erez_Zadok [Tue, 10 Jul 2007 04:03:58 +0000 (00:03 -0400)]
cleanup defunct/old code

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
18 years agoSupport tmpfs and ramfs lower file systems.
Erez_Zadok [Tue, 10 Jul 2007 03:47:34 +0000 (23:47 -0400)]
Support tmpfs and ramfs lower file systems.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
18 years agoMerge jffs2 test into default.conf, so we don't need a separate conf file
Erez_Zadok [Mon, 9 Jul 2007 23:55:24 +0000 (19:55 -0400)]
Merge jffs2 test into default.conf, so we don't need a separate conf file

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
18 years agot-link-rename.sh: copyup test when renaming symlinks on readonly branches
Erez_Zadok [Sun, 8 Jul 2007 01:51:01 +0000 (21:51 -0400)]
t-link-rename.sh: copyup test when renaming symlinks on readonly branches

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
18 years agoregression: ensure that all binaries are updated before starting all tests
Erez_Zadok [Fri, 29 Jun 2007 08:08:56 +0000 (04:08 -0400)]
regression: ensure that all binaries are updated before starting all tests

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
18 years agoMerge branch 'master' of story:/home/git/unionfs-regression
Josef 'Jeff' Sipek [Fri, 29 Jun 2007 07:12:48 +0000 (03:12 -0400)]
Merge branch 'master' of story:/home/git/unionfs-regression

18 years agoAllow the FS to be set via environment var
Josef 'Jeff' Sipek [Fri, 29 Jun 2007 07:06:43 +0000 (03:06 -0400)]
Allow the FS to be set via  environment var

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
18 years agoUnionfs-regression: run ext4 tests in run-all-tests
Erez_Zadok [Fri, 29 Jun 2007 07:04:37 +0000 (03:04 -0400)]
Unionfs-regression: run ext4 tests in run-all-tests

Also don't set MYFS before running the special jffs2 test, because it would
cause all branches to use jffs2, and we only want the topmost branch to be
jffs2.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
18 years agoChange delay on thor to 0.125 seconds
Josef 'Jeff' Sipek [Fri, 29 Jun 2007 07:02:24 +0000 (03:02 -0400)]
Change delay on thor to 0.125 seconds

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
18 years agoRename .cvsignore to .gitignore
Josef 'Jeff' Sipek [Fri, 29 Jun 2007 07:00:49 +0000 (03:00 -0400)]
Rename .cvsignore to .gitignore

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
18 years agoImported regression suite from CVS
Josef 'Jeff' Sipek [Fri, 29 Jun 2007 06:54:49 +0000 (02:54 -0400)]
Imported regression suite from CVS

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>