mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-21 01:06:58 +00:00
This test has one external mount [criumntns] /zdtm_root_ext.tmp -> [testmntns] /mnt_root_ext.test, and it specifically gives '--external mnt[MNT]:.zdtm_root_ext.tmp' option on restore without '/' to make dirname on it return static '.' path (see glibc dirname() code) and reproduce a segfault in resolve_mountpoint(). Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
5 lines
72 B
Bash
Executable file
5 lines
72 B
Bash
Executable file
#!/bin/bash
|
|
|
|
[ "$1" == "--clean" ] || exit 0
|
|
|
|
rmdir /.zdtm_root_ext.tmp
|