From 8ba8ebd9b8ee20f81c85308bb9a7b1cb9151cbff Mon Sep 17 00:00:00 2001 From: Rene Diepstraten Date: Dec 30 2013 09:52:02 +0000 Subject: Add a find statement to find current location of backup --- diff --git a/tests/p_amanda/amanda-server_test.sh b/tests/p_amanda/amanda-server_test.sh index 5c90944..929ef9d 100755 --- a/tests/p_amanda/amanda-server_test.sh +++ b/tests/p_amanda/amanda-server_test.sh @@ -105,7 +105,7 @@ else fi ## checking data in backup -grep -q "${STRING}" /amanda/vtapes/current/00001.localhost._etc.0 +grep -q "${STRING}" $(find /amanda/vtapes/ -name 00001.localhost._etc.0) if [ $? -ne 0 ] then t_Log "Something is wrong with the backup - can't find content of /etc/amandabackup-test file."