Skip to content

Commit 26e5a14

Browse files
authored
Merge pull request #7152 from andresailer/81_fixDiff
fix(tests): move exclamation mark to the correct location
2 parents cc26bb2 + 6cd36a4 commit 26e5a14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/System/transformation_replication.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ fi
101101
echo ""
102102
echo "Checking if the files have been added to the transformation"
103103
dirac-transformation-get-files "${transID}" | sort > ./transLFNs.txt
104-
if diff --ignore-space-change LFNstoTS.txt transLFNs.txt!
104+
if ! diff --ignore-space-change LFNstoTS.txt transLFNs.txt
105105
then
106-
echo 'Error: files have not been added to the transformation'
106+
echo 'Error: files have not been added to the transformation'
107107
exit 1
108108
else
109109
echo 'Successful check'

0 commit comments

Comments
 (0)