13 Commits

Author SHA1 Message Date
Azat Khuzhin
7023aebf18 simple-test: create journal with 4k block size
This must avoid next error:
[    6.694339] Journal device is: unknown-block(7,0)
[    6.695620] JBD2: no valid journal superblock found
2014-10-02 02:20:37 +04:00
Azat Khuzhin
3384ede4bd simple-test: use losetup+journal_path=/dev/loopX for mounting with journal 2014-10-02 02:20:37 +04:00
Azat Khuzhin
e21bfc88e3 simple-test: mount fs with journal 2014-10-02 02:20:37 +04:00
Azat Khuzhin
65ab062528 simple-test: enable jbd2-debug 2014-10-02 02:20:37 +04:00
Azat Khuzhin
8567b0e113 simple-test: call umount from cleanup() only when mount point exists
this will avoid errors when cleanup() called before doing actuall job,
IOW just after make and before all tests.
2014-09-17 13:38:57 +04:00
Azat Khuzhin
0a7059cd35 simple-test: use 'umount -t /path/to/mnt' to avoid umounting extra mnts 2014-09-17 13:34:51 +04:00
Azat Khuzhin
37a08dbe63 simple-test: change dir to root before unmount, to avoid opened fds 2014-09-17 13:33:37 +04:00
Azat Khuzhin
0a41a032a4 simple-test: fix awk syntax for unmount only by fstype
But we could just use 'umount -t' I guess.
2014-09-17 13:32:39 +04:00
Azat Khuzhin
b84270ee83 simple-test: grep out by 3 column (fs type) from /proc/mounts 2014-09-16 20:18:59 +04:00
Azat Khuzhin
e1df255a33 simple-test: more accurate grep for /proc/mounts 2014-09-16 16:22:00 +04:00
Azat Khuzhin
d976c4f65e test: read file after truncate it to more smaller size.
Just write less bytes.
2013-09-29 20:18:49 +04:00
Azat Khuzhin
d67a2974e5 test: add some read operations after unmount/mount 2013-09-29 20:12:51 +04:00
Azat Khuzhin
1a11834f73 Add shell script to do some simple operations with simplefs
- create fs
- create files in it
- create dirs in it
- read files in it
- write files in it
2013-09-17 23:07:13 +04:00