]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: add function to change directory reliable way
authorSami Kerola <kerolasa@iki.fi>
Sun, 22 Jun 2014 09:20:54 +0000 (10:20 +0100)
committerSami Kerola <kerolasa@iki.fi>
Fri, 18 Jul 2014 17:34:14 +0000 (18:34 +0100)
commit723c70434bd307522530e203e70dd113842cb474
treec4709db61063068392380bd0dab096bd4961198d
parentbd9ced628bb8621babc1d677669c14277845745d
tests: add function to change directory reliable way

Without arguments bash cd will move to $HOME. Ensure also that when
directory is assumed to be changed the current directory and intented
destination are the same location.

Reference: http://www.spinics.net/lists/util-linux-ng/msg09509.html
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
tests/functions.sh