Skip to content

Commit cdb1c50

Browse files
committed
programs/stress-ng/run: resolve 'swap: cannot enable swap file on the ramfs filesystem'
stress-ng: info: [2534] swap: cannot enable swap file on the filesystem ', filesystem type: ramfs (0 blocks available)', skipping test stress-ng: info: [2536] swap: cannot enable swap file on the filesystem ', filesystem type: ramfs (0 blocks available)', skipping test Signed-off-by: Philip Li <[email protected]>
1 parent 5055703 commit cdb1c50

File tree

1 file changed

+3
-0
lines changed
  • programs/stress-ng

1 file changed

+3
-0
lines changed

programs/stress-ng/run

+3
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ setup_test()
7272
}
7373

7474
case "$test" in
75+
"swap")
76+
common_opts="${common_opts} --temp-path /mnt/stress-ng"
77+
;;
7578
"ping-sock")
7679
log_cmd sysctl -w net.ipv4.ping_group_range="0 $nr_threads"
7780
;;

0 commit comments

Comments
 (0)