use diff instad of cmp

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-11-02 16:46:50 +01:00
parent f42dbb9103
commit fa95291cbc

View file

@ -20,7 +20,7 @@
user="$(cat "$__object/parameter/user")"
state_should="$(cat "$__object/parameter/state")"
state_is=$(cmp --quiet "$__object/parameter/entry" "$__object/explorer/entry" \
state_is=$(diff -q "$__object/parameter/entry" "$__object/explorer/entry" \
&& echo present \
|| echo absent
)