ZTS: history path cleanup
History tests were hard coded to use /tmp and didn't clean up properly after testing. Reviewed by: John Wren Kennedy <jwk404@gmail.com> Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: bunder2015 <omfgbunder@gmail.com> Issue #7507 Closes #7600
This commit is contained in:
parent
37fb3e4318
commit
62841115bc
|
@ -31,8 +31,6 @@
|
|||
|
||||
. $STF_SUITE/include/libtest.shlib
|
||||
|
||||
[[ -f $OLD_HISTORY ]] && rm -f $OLD_HISTORY
|
||||
[[ -f $TMP_HISTORY ]] && rm -f $TMP_HISTORY
|
||||
[[ -f $NEW_HISTORY ]] && rm -f $NEW_HISTORY
|
||||
rm -f $TEST_BASE_DIR/{old,tmp,new}_history.*
|
||||
|
||||
default_cleanup
|
||||
|
|
|
@ -32,9 +32,9 @@ export ZFSROOT=
|
|||
|
||||
export MPOOL=mpool.$$
|
||||
|
||||
export OLD_HISTORY=/tmp/old_history.$$
|
||||
export TMP_HISTORY=/tmp/tmp_history.$$
|
||||
export NEW_HISTORY=/tmp/new_history.$$
|
||||
export OLD_HISTORY=$TEST_BASE_DIR/old_history.$$
|
||||
export TMP_HISTORY=$TEST_BASE_DIR/tmp_history.$$
|
||||
export NEW_HISTORY=$TEST_BASE_DIR/new_history.$$
|
||||
|
||||
export MIGRATEDPOOLNAME=${MIGRATEDPOOLNAME:-history_pool}
|
||||
export TIMEZONE=${TIMEZONE:-US/Mountain}
|
||||
|
|
Loading…
Reference in New Issue