func/core/pkg_archive/27-znew.sh

12 lines
188 B
Bash
Raw Normal View History

2024-08-15 03:52:26 +00:00
#!/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 $?