unionfs-regression.git
11 years agoadd mmap-write master
Erez Zadok [Thu, 15 May 2014 15:36:49 +0000 (11:36 -0400)]
add mmap-write

11 years agofix compile for dirent.h
Erez Zadok [Fri, 9 May 2014 03:33:59 +0000 (23:33 -0400)]
fix compile for dirent.h

11 years agoMerge branch 'master' of git:/scm/git/unionfs-regression
Erez Zadok [Fri, 9 May 2014 03:32:47 +0000 (23:32 -0400)]
Merge branch 'master' of git:/scm/git/unionfs-regression

13 years agoPass actual /mnt/unionfs mount point to mount(2) instead of "none"
Erez Zadok [Fri, 3 Feb 2012 03:45:30 +0000 (22:45 -0500)]
Pass actual /mnt/unionfs mount point to mount(2) instead of "none"

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
14 years agoRegression: skip rm/rmdir tests in t-cache on 2.6.38
Erez Zadok [Sun, 26 Jun 2011 00:12:13 +0000 (20:12 -0400)]
Regression: skip rm/rmdir tests in t-cache on 2.6.38

Because can no longer detect cache incoherency in 2.6.38.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
14 years agoRegression: add chdir-open and rmdir-open test programs
Erez Zadok [Wed, 27 Apr 2011 09:54:42 +0000 (05:54 -0400)]
Regression: add chdir-open and rmdir-open test programs

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
14 years agoadded missing progs/mapper2.c file
Erez Zadok [Wed, 30 Mar 2011 03:46:35 +0000 (23:46 -0400)]
added missing progs/mapper2.c file

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
14 years agoftruncate tests
Erez Zadok [Wed, 30 Mar 2011 03:45:35 +0000 (23:45 -0400)]
ftruncate tests

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
16 years agoramfs fixes
Erez Zadok [Wed, 10 Jun 2009 18:16:00 +0000 (14:16 -0400)]
ramfs fixes

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
16 years agosupport new ext4 f/s name
Erez Zadok [Wed, 10 Jun 2009 17:48:05 +0000 (13:48 -0400)]
support new ext4 f/s name

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
16 years agodon't break on new chattr which doesn't allow block/char devices and symlinks
Erez Zadok [Wed, 10 Jun 2009 04:24:24 +0000 (00:24 -0400)]
don't break on new chattr which doesn't allow block/char devices and symlinks

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
16 years agoadd mapper2 program
Erez Zadok [Tue, 9 Jun 2009 23:06:18 +0000 (19:06 -0400)]
add mapper2 program

Also fix makefile not to break on -Werror.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
17 years agocache coherency tests for unionfs regression suite
Erez Zadok [Wed, 30 Jul 2008 02:27:08 +0000 (22:27 -0400)]
cache coherency tests for unionfs regression suite

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
17 years agoDon't copyup a file being opened for writing, unless writing actually happens
Erez Zadok [Wed, 23 Apr 2008 16:03:39 +0000 (12:03 -0400)]
Don't copyup a file being opened for writing, unless writing actually happens

17 years agosupport a simple branch management test
Erez Zadok [Thu, 27 Mar 2008 21:35:00 +0000 (17:35 -0400)]
support a simple branch management test

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
17 years agoUpdate unlink test cases to support the new delete-all policy.
Erez Zadok [Sun, 23 Mar 2008 02:48:16 +0000 (22:48 -0400)]
Update unlink test cases to support the new delete-all policy.

Signed-off-by: Himanshu Kanda <hkanda@cs.sunysb.edu>
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
17 years agoregression: turn on "test_fs" ext4 flag, needed in 2.6.25
Erez Zadok [Thu, 13 Mar 2008 23:51:30 +0000 (19:51 -0400)]
regression: turn on "test_fs" ext4 flag, needed in 2.6.25

17 years agoregression: turn on "test_fs" ext4 flag, needed in 2.6.25
Erez Zadok [Thu, 13 Mar 2008 23:51:30 +0000 (19:51 -0400)]
regression: turn on "test_fs" ext4 flag, needed in 2.6.25

17 years agoUse correct erase size for jffs2 image (avoids annoying console warnings)
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 agoRegression: use first writable branch
Erez Zadok [Tue, 22 Jan 2008 09:54:55 +0000 (04:54 -0500)]
Regression: use first writable branch

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
17 years agoUse correct erase size for jffs2 image (avoids annoying console warnings)
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 agoRegression: use first writable branch
Erez Zadok [Tue, 22 Jan 2008 09:54:55 +0000 (04:54 -0500)]
Regression: use first writable branch

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

Signed-off-by: Rachita Kothiyal <rachita@fsl.cs.sunysb.edu>
17 years agonew semantics: new symlinks get created in first branch always
Erez Zadok [Wed, 19 Dec 2007 02:28:16 +0000 (21:28 -0500)]
new semantics: new symlinks get created in first branch always

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
17 years agonew semantics: new character/block devices get created in first branch always
Erez Zadok [Wed, 19 Dec 2007 02:17:36 +0000 (21:17 -0500)]
new semantics: new character/block devices get created in first branch always

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
17 years agoSupport creation/detection of pipes and character/block devices
Erez Zadok [Wed, 19 Dec 2007 02:13:40 +0000 (21:13 -0500)]
Support creation/detection of pipes and character/block devices

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
17 years agochmod all shell scripts so they're executable.
Erez Zadok [Thu, 29 Nov 2007 07:20:21 +0000 (02:20 -0500)]
chmod all shell scripts so they're executable.

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 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 agoUpdate unlink/rmdir to reflect new policy for whiteout creation
Erez Zadok [Sun, 25 Nov 2007 19:46:53 +0000 (14:46 -0500)]
Update unlink/rmdir to reflect new policy for whiteout creation

Now we don't create a whiteout on the branch in which the object is being
deleted, if there's no chance that an even lower-priority branch could have
the same named file exposed.

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 08:52:05 +0000 (03:52 -0500)]
display progress message in mkdir test

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 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 agoscaffold: properly indent repeated find command
Erez Zadok [Sat, 13 Oct 2007 20:01:19 +0000 (16:01 -0400)]
scaffold: properly indent repeated find command

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 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>