mirror of
https://github.com/ben-grande/qusal.git
synced 2025-07-05 03:26:52 -04:00
test: show RPM Spec differences on status check
This commit is contained in:
parent
c06e4311f9
commit
0f6aa34a89
1 changed files with 1 additions and 0 deletions
|
@ -127,6 +127,7 @@ gen_spec(){
|
||||||
if test "${2-}" = "test"; then
|
if test "${2-}" = "test"; then
|
||||||
if ! cmp -s "${target}" "${intended_target}"; then
|
if ! cmp -s "${target}" "${intended_target}"; then
|
||||||
echo "error: ${intended_target} is not up to date" >&2
|
echo "error: ${intended_target} is not up to date" >&2
|
||||||
|
diff --color=auto "${intended_target}" "${target}" || true
|
||||||
fail=1
|
fail=1
|
||||||
else
|
else
|
||||||
if test -n "$(git diff --name-only "${intended_target}")"; then
|
if test -n "$(git diff --name-only "${intended_target}")"; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue