From c4f10394ab24327b1f303cba493723def9ab99ba Mon Sep 17 00:00:00 2001 From: netblue30 Date: Thu, 28 Apr 2016 15:22:09 -0400 Subject: fixed make test-envirnment for running under /tmp --- test/profiles/profile_syntax.exp | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'test/profiles/profile_syntax.exp') diff --git a/test/profiles/profile_syntax.exp b/test/profiles/profile_syntax.exp index ecad1043b..2b1ec7797 100755 --- a/test/profiles/profile_syntax.exp +++ b/test/profiles/profile_syntax.exp @@ -34,32 +34,20 @@ expect { timeout {puts "TESTING ERROR 4\n";exit} "Permission denied" } -expect { - timeout {puts "TESTING ERROR 5\n";exit} - "home" -} sleep 1 -send -- "mount;pwd\r" +send -- "mount\r" expect { timeout {puts "TESTING ERROR 6\n";exit} "Permission denied" } -expect { - timeout {puts "TESTING ERROR 7\n";exit} - "home" -} sleep 1 -send -- "umount;pwd\r" +send -- "umount\r" expect { timeout {puts "TESTING ERROR 8\n";exit} "Permission denied" } -expect { - timeout {puts "TESTING ERROR 9\n";exit} - "home" -} send -- "exit\r" sleep 1 -- cgit v1.2.3-70-g09d2