summaryrefslogtreecommitdiffstats
path: root/tests/commands.sh
diff options
context:
space:
mode:
authorSami Kerola2014-05-25 23:52:24 +0200
committerSami Kerola2014-07-18 19:34:15 +0200
commit0f85e0535bd4e6d19fadca182e4d57660b6bb57b (patch)
treea2f8dd15c1e21316a87a48614c70d70d245b8326 /tests/commands.sh
parenttests: use ts_cd everywhere to change direcrory (diff)
downloadkernel-qcow2-util-linux-0f85e0535bd4e6d19fadca182e4d57660b6bb57b.tar.gz
kernel-qcow2-util-linux-0f85e0535bd4e6d19fadca182e4d57660b6bb57b.tar.xz
kernel-qcow2-util-linux-0f85e0535bd4e6d19fadca182e4d57660b6bb57b.zip
tests: add rename(1) checks
Check basic file moves, symlink relinking, and both file moves and symlinks when operations are have directory in destination path. Reviewed-by: Ruediger Meier <sweet_f_a@gmx.de> Reviewed-by: Karel Zak <kzak@redhat.com> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/commands.sh')
-rw-r--r--tests/commands.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/commands.sh b/tests/commands.sh
index 06450a367..f699ef1ab 100644
--- a/tests/commands.sh
+++ b/tests/commands.sh
@@ -62,6 +62,7 @@ TS_CMD_MKSWAP=${TS_CMD_MKSWAP:-"$top_builddir/mkswap"}
TS_CMD_MOUNT=${TS_CMD_MOUNT:-"$top_builddir/mount"}
TS_CMD_NAMEI=${TS_CMD_NAMEI-"$top_builddir/namei"}
TS_CMD_PARTX=${TS_CMD_PARTX-"$top_builddir/partx"}
+TS_CMD_RENAME=${TS_CMD_RENAME-"$top_builddir/rename"}
TS_CMD_REV=${TS_CMD_REV:-"$top_builddir/rev"}
TS_CMD_SCRIPT=${TS_CMD_SCRIPT-"$top_builddir/script"}
TS_CMD_SETARCH=${TS_CMD_SETARCH-"$top_builddir/setarch"}