diff options
author | Sami Kerola | 2014-06-22 11:43:00 +0200 |
---|---|---|
committer | Sami Kerola | 2014-07-18 19:34:15 +0200 |
commit | 7f1f10ab7012f08e64ae73b3fbbb6ec9fce3ddd6 (patch) | |
tree | dfcdcbadbc12064d395b2ed20416ebd35fc8d3e8 /tests/ts/build-sys | |
parent | tests: add function to change directory reliable way (diff) | |
download | kernel-qcow2-util-linux-7f1f10ab7012f08e64ae73b3fbbb6ec9fce3ddd6.tar.gz kernel-qcow2-util-linux-7f1f10ab7012f08e64ae73b3fbbb6ec9fce3ddd6.tar.xz kernel-qcow2-util-linux-7f1f10ab7012f08e64ae73b3fbbb6ec9fce3ddd6.zip |
tests: use ts_cd everywhere to change direcrory
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/ts/build-sys')
-rwxr-xr-x | tests/ts/build-sys/config | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ts/build-sys/config b/tests/ts/build-sys/config index 5ae83a3bb..15b355103 100755 --- a/tests/ts/build-sys/config +++ b/tests/ts/build-sys/config @@ -19,7 +19,7 @@ config_gen_dir="$top_srcdir/tools" [ -n "$CFLAGS" ] && export CFLAGS="$CFLAGS" -cd $top_builddir && make -j clean &> /dev/null +ts_cd $top_builddir && make -j clean &> /dev/null for conf in $config_gen_dir/config-gen.d/*.conf; do ts_init_subtest $(basename $conf | sed 's/\.conf//') @@ -27,7 +27,7 @@ for conf in $config_gen_dir/config-gen.d/*.conf; do opts=$(ul_get_configuration $conf) olddir=$(pwd) - cd $top_builddir + ts_cd $top_builddir ./configure $opts &> /dev/null make -j &> /dev/null @@ -63,7 +63,7 @@ for conf in $config_gen_dir/config-gen.d/*.conf; do [ -d tests/diff.save ] && mv tests/diff.save tests/diff [ -d tests/output.save ] && mv tests/output.save tests/output - cd $olddir + ts_cd $olddir ts_finalize_subtest done |