Skip to content

Commit

Permalink
Merge pull request #7152 from andresailer/81_fixDiff
Browse files Browse the repository at this point in the history
fix(tests): move exclamation mark to the correct location
  • Loading branch information
fstagni authored Aug 3, 2023
2 parents cc26bb2 + 6cd36a4 commit 26e5a14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/System/transformation_replication.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ fi
echo ""
echo "Checking if the files have been added to the transformation"
dirac-transformation-get-files "${transID}" | sort > ./transLFNs.txt
if diff --ignore-space-change LFNstoTS.txt transLFNs.txt!
if ! diff --ignore-space-change LFNstoTS.txt transLFNs.txt
then
echo 'Error: files have not been added to the transformation'
echo 'Error: files have not been added to the transformation'
exit 1
else
echo 'Successful check'
Expand Down

0 comments on commit 26e5a14

Please sign in to comment.