[project @ 2003-07-23 11:43:16 by simonmar]
[ghc-hetmet.git] / ghc / tests / ghci / prog001 / prog001.script
diff --git a/ghc/tests/ghci/prog001/prog001.script b/ghc/tests/ghci/prog001/prog001.script
deleted file mode 100644 (file)
index 2479e42..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-:unset +s
--- first, tidy up:
-:! rm -f *.hi *.o *~
-:! cp D1.hs D.hs
-
--- load the program (all interpreted)
-:load A
-
--- reloading should do nothing
-:reload
-
--- make sure `main' works
-main
-
--- touch a module + recompile
-:! sleep 1
-:! touch C.hs
-:reload
-
--- make sure `main' still works
-main
-
--- compile D & reload
-:! $HC $HC_OPTS -no-recomp -c D.hs
-:reload
-main
-
--- change D, recompile & reload
-:! cp D2.hs D.hs
-:! $HC $HC_OPTS -no-recomp -c D.hs
-:reload
-:load A
-
--- make sure we're picking up the new D, via B
-:module B
-g 42