[disorderfs] 01/01: Print the behaviour on startup to stdout (Closes: #837689)
Chris Lamb
chris at chris-lamb.co.uk
Tue Sep 13 16:46:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository disorderfs.
commit cbd17ddb6b3cd4a6ce589333c77c97f59e7d04d9
Author: Chris Lamb <lamby at debian.org>
Date: Tue Sep 13 17:45:52 2016 +0100
Print the behaviour on startup to stdout (Closes: #837689)
---
disorderfs.cpp | 10 ++++++++++
tests/common | 2 +-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/disorderfs.cpp b/disorderfs.cpp
index 3f25398..8393e3b 100644
--- a/disorderfs.cpp
+++ b/disorderfs.cpp
@@ -262,6 +262,16 @@ int main (int argc, char** argv)
}
fuse_opt_add_arg(&fargs, bare_arguments[1].c_str());
+ if (config.shuffle_dirents) {
+ std::cout << "disorderfs: shuffling dirents" << std::endl;
+ }
+ if (config.reverse_dirents) {
+ std::cout << "disorderfs: reversing dirents" << std::endl;
+ }
+ if (config.sort_dirents) {
+ std::cout << "disorderfs: sorting dirents" << std::endl;
+ }
+
/*
* Initialize disorderfs_fuse_operations
*/
diff --git a/tests/common b/tests/common
index 3566b3c..728d4a8 100644
--- a/tests/common
+++ b/tests/common
@@ -3,7 +3,7 @@ trap "Unmount 2>/dev/null" EXIT
Mount () {
Unmount
mkdir -p target
- ../disorderfs "${@}" fixtures/ target/
+ ../disorderfs "${@}" fixtures/ target/ >/dev/null
}
Unmount () {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/disorderfs.git
More information about the Reproducible-commits
mailing list