summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ziltest.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/ziltest.sh b/scripts/ziltest.sh
index 62cf09e88..bb816293f 100755
--- a/scripts/ziltest.sh
+++ b/scripts/ziltest.sh
@@ -185,7 +185,11 @@ CHECKSUM_BEFORE=$(sha256sum -b "$PAYLOAD")
#
# TX_WRITE (small file with ordering)
#
-cp /etc/mtab $ROOT/small_file
+if is_linux; then
+ cp /proc/self/mounts $ROOT/small_file
+else
+ cp /etc/mtab $ROOT/small_file
+fi
cp /etc/profile $ROOT/small_file
#