Commit b7a907d2 authored by Adam Paquette's avatar Adam Paquette
Browse files

PROG: Fixed the error with spiceinits isis2 test. References #2372

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@6890 41f8697f-d340-4b68-9986-7bafba869bb8
parent 3f50efb0
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -5,9 +5,11 @@ include $(ISISROOT)/make/isismake.tsts

commands:
#    TEST A: Check that an isis2 cube fails to be read
	echo -e "Test Spiceinit with an isis2 cube:" > $(OUTPUT)/error_message.txt;
	echo -e "Test Spiceinit with an isis2 cube:" > $(OUTPUT)/error_message_temp.txt;
	if [ `$(APPNAME) \
	  from=$(INPUT)/isis2Truth.cub \
	  2>> $(OUTPUT)/error_message.txt > /dev/null` ]; \
	  2>> $(OUTPUT)/error_message_temp.txt > /dev/null` ]; \
	  then true; \
	fi;
	$(SED) 's+\[/.*/input/+\[input/+' $(OUTPUT)/error_message_temp.txt > $(OUTPUT)/error_message.txt;
	$(RM)  $(OUTPUT)/error_message_temp.txt;
 No newline at end of file