From 6cd36a46071a8e48eb5b128c958ff189706eddc2 Mon Sep 17 00:00:00 2001 From: Andre Sailer Date: Thu, 3 Aug 2023 10:48:46 +0200 Subject: [PATCH] fix(tests): move exclamation mark to the correct location remove errant space --- tests/System/transformation_replication.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/System/transformation_replication.sh b/tests/System/transformation_replication.sh index 44ed9b9ff0b..d4943d0fa53 100755 --- a/tests/System/transformation_replication.sh +++ b/tests/System/transformation_replication.sh @@ -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'