toolkit/func/core/pkg_archive/27-znew.sh
2022-11-21 14:10:54 -06:00

12 lines
188 B
Bash

#!/bin/bash
r_log "archive" "Testing znew"
TESTFILE=/var/tmp/znew.txt
/bin/rm $TESTFILE* &>/dev/null
ls -l /usr/bin > $TESTFILE
compress $TESTFILE
znew $TESTFILE.Z
r_checkExitStatus $?