aboutsummaryrefslogtreecommitdiffstats
path: root/test-test
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-29 11:40:14 +0200
committerMattias Andrée <maandree@kth.se>2016-03-29 11:40:14 +0200
commiteebd6ca245ca07dae435052a334ac53d57d20b6a (patch)
tree903a026e9be1014a2c852b4f19d988863c2c93a2 /test-test
parentm (diff)
downloadbase-util-tests-eebd6ca245ca07dae435052a334ac53d57d20b6a.tar.gz
base-util-tests-eebd6ca245ca07dae435052a334ac53d57d20b6a.tar.bz2
base-util-tests-eebd6ca245ca07dae435052a334ac53d57d20b6a.tar.xz
add -E test to test-test
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'test-test')
-rwxr-xr-xtest-test/test25
1 files changed, 24 insertions, 1 deletions
diff --git a/test-test/test b/test-test/test
index d105fa9..8a2a203 100755
--- a/test-test/test
+++ b/test-test/test
@@ -555,11 +555,34 @@ EOF
rm tmp1 tmp2
}
+Eflag ()
+{
+ touch tmp1; rm tmp1
+ touch tmp2; rm tmp2
+ touch tmp3; rm tmp3
+ touch tmp2l; rm tmp2l
+ touch tmp3l; rm tmp3l
+ touch tmp1
+ mkdir tmp2
+ mkdir tmp3
+ touch tmp3/x
+ ln -s tmp2 tmp2l
+ ln -s tmp3 tmp3l
+ F -E tmp1 &&
+ T -E tmp2 &&
+ F -E tmp3 &&
+ T -E tmp2l &&
+ F -E tmp3l
+ report_np $? "Eflag"
+ rm tmp1 tmp2l tmp3l tmp3/x
+ rmdir tmp2 tmp3
+}
+
if test $# = 0; then
set bracket bflag cflag dflag eflag fflag gflag hflag_1 hflag_2 kflag Lflag_1 Lflag_2 nflag \
pflag rflag sflag tflag uflag wflag xflag_f xflag_d zflag string eq_sign ne_sign eq_flag \
- ne_flag gt_flag ge_flag lt_flag le_flag ef_flag nt_flag ot_flag aflag oflag excl \
+ ne_flag gt_flag ge_flag lt_flag le_flag ef_flag nt_flag ot_flag aflag oflag excl Eflag \
excl_prec oflag_aflag parenthesis multiexcl multiexcl_many bigint prec np_prec Sflag
fi
(