1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/ulib/file.test
stefanocasazza cb3ff25402 fix+brotli
2017-09-28 16:51:51 +02:00

35 lines
497 B
Bash
Executable File

#!/bin/sh
. ../.function
## file.test -- Test file feature
start_msg file
#UTRACE="0 10M -1"
#UOBJDUMP="-1 100k 10"
#USIMERR="error.sim"
export UTRACE UOBJDUMP USIMERR
if [ "$TERM" = "cygwin" ]
then
# ARG1="/home/admin"
ARG1="/home/Administrator" # WIN2000AS
ARG2="/"
else
ARG1="`echo ~`"
if [ "$ARG1" = "~" ]
then
ARG1="/"
ARG2="//"
else
ARG2="`echo ~root/`"
fi
fi
ARG3=`echo $PWD`
start_prg file "$ARG1" "$ARG2" "$ARG3"
# Test against expected output
test_output_wc w file