aboutsummaryrefslogtreecommitdiff
path: root/stress_tests
diff options
context:
space:
mode:
Diffstat (limited to 'stress_tests')
-rwxr-xr-xstress_tests/extractloop.bash3
-rwxr-xr-xstress_tests/fsstress-loopback.bash7
2 files changed, 4 insertions, 6 deletions
diff --git a/stress_tests/extractloop.bash b/stress_tests/extractloop.bash
index b3c13c0..a5d0539 100755
--- a/stress_tests/extractloop.bash
+++ b/stress_tests/extractloop.bash
@@ -9,6 +9,7 @@ DIR1=$(mktemp -d)
DIR2=$(mktemp -d)
gocryptfs -q -init -extpass="echo test" $DIR1
gocryptfs -q -extpass="echo test" -nosyslog $DIR1 $DIR2
+#gocryptfs -q -extpass="echo test" -nosyslog -memprofile /tmp/extractloop-mem $DIR1 $DIR2
cd $DIR2
# Cleanup trap
@@ -24,7 +25,7 @@ function loop {
N=1
while true
do
- echo "Process $BASHPID iteration $N: $(date)"
+ echo "[pid $BASHPID] $N: $(date +%H:%M:%S)"
tar xf /tmp/linux-3.0.tar.gz
diff -ur linux-3.0 /tmp/linux-3.0
rm -Rf linux-3.0
diff --git a/stress_tests/fsstress-loopback.bash b/stress_tests/fsstress-loopback.bash
index df60cd0..36f1c96 100755
--- a/stress_tests/fsstress-loopback.bash
+++ b/stress_tests/fsstress-loopback.bash
@@ -5,8 +5,6 @@ set -eu
DIR=/tmp/a
# Mountpoint
MNT=/tmp/b
-# Debug log
-LOG=/tmp/log.txt
# fsstress binary
FSSTRESS=~/src/xfstests/ltp/fsstress
@@ -41,19 +39,18 @@ else
fi
echo -n "Waiting for mount: "
+sleep 0.5
while ! grep "$MNT fuse" /proc/self/mounts > /dev/null
do
sleep 1
echo -n x
done
-echo " done, debug log goes to $LOG"
+echo
echo "Starting fsstress loop"
N=1
while true
do
- > $LOG
-
echo $N
mkdir $MNT/fsstress.1
echo -n " fsstress.1 "