diff --git a/tests/golden/o_tmpfile b/tests/golden/o_tmpfile index 71496330..a1d111f0 100644 --- a/tests/golden/o_tmpfile +++ b/tests/golden/o_tmpfile @@ -1,3 +1,4 @@ +== stage from tmpfile total file size 33669120 00000000 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA| * diff --git a/tests/tests/o_tmpfile.sh b/tests/tests/o_tmpfile.sh index 5a77ed8f..9de214ef 100644 --- a/tests/tests/o_tmpfile.sh +++ b/tests/tests/o_tmpfile.sh @@ -1,15 +1,13 @@ # -# Run tmpfile_stage and check the output with hexdump. +# basic tests of O_TMPFILE # t_require_commands stage_tmpfile hexdump +echo "== stage from tmpfile" DEST_FILE="$T_D0/dest_file" - stage_tmpfile $T_D0 $DEST_FILE - hexdump -C "$DEST_FILE" - -rm -fr "$DEST_FILE" +rm -f "$DEST_FILE" t_pass