c2bdb6a95bb612573967deba3f82f8ae00f05b81
2 # some basic sanity / verification
3 # assumes we have trash-put in path
4 # I don't recommend actually running this unless you have a reason to,
5 # since it creates & deletes files, and being a test, it is not as thoroughly
33 # target target directory
39 [[ -L a
/b
&& -L a
/c
&& -L a
/d
]] || err
58 source ${0%/*}/..
/lnf-function
59 # might want to undo this if things go wrong
62 trap 'echo "${BASH_COMMAND:+BASH_COMMAND=\"$BASH_COMMAND\" }
63 ${FUNCNAME:+FUNCNAME=\"$FUNCNAME\" }${LINENO:+LINENO=\"$LINENO\" }\$?=$?"' ERR